public interface SecurityRule
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2004–2021 XWiki. All rights reserved.