|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityRule
A security rule, representing a declarative access right for some users, groups, and rights.
| Method Summary | |
|---|---|
RuleState |
getState()
|
boolean |
match(GroupSecurityReference group)
Check if this rule match the given group. |
boolean |
match(Right right)
Check if this rule match the given right. |
boolean |
match(UserSecurityReference user)
Check if this rule match the given user. |
| Method Detail |
|---|
boolean match(Right right)
right - The right to match.
true if the state should be applied for the right.boolean match(GroupSecurityReference group)
group - The group to match.
true if the state should be applied for group.boolean match(UserSecurityReference user)
user - The user to match.
true if the state should be applied for user.RuleState getState()
RuleState of this rule.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||