|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.types.PolicyRule
public class PolicyRule
A rule used in determining whether a user has a role.
When determining whether a SOAP operation should be permitted, the
PBAC PDP must first find the
set of roles which the caller has in the context of the resource.
This is done by evaluating each of the resource's PolicyRules.
Each rule contains a MatchPattern, and the effect of the pattern
being matched.
| Constructor Summary | |
|---|---|
PolicyRule()
For Axis. |
|
PolicyRule(MatchPattern pattern,
String role)
Convenience constructor for SUFFICIENT rules. |
|
PolicyRule(MatchPattern pattern,
String role,
PolicyRuleType type)
|
|
PolicyRule(MatchRule rule)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object otherObj)
Used to ensure a stable sort order for display. |
MatchPattern |
getMatchPattern()
|
String |
getRole()
|
PolicyRuleType |
getType()
|
static TypeDesc |
getTypeDesc()
|
void |
setMatchPattern(MatchPattern value)
|
void |
setRole(String value)
|
void |
setType(PolicyRuleType value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyRule()
public PolicyRule(MatchPattern pattern,
String role)
public PolicyRule(MatchPattern pattern,
String role,
PolicyRuleType type)
public PolicyRule(MatchRule rule)
| Method Detail |
|---|
public MatchPattern getMatchPattern()
public PolicyRuleType getType()
public String getRole()
public void setMatchPattern(MatchPattern value)
public void setType(PolicyRuleType value)
public void setRole(String value)
public String toString()
toString in class Objectpublic static TypeDesc getTypeDesc()
public int compareTo(Object otherObj)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||