Package ch.tocco.nice2.security.api
Interface Rule
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
RuleBuilder
- All Known Implementing Classes:
RuleBuilderImpl
,RuleImpl
Represents a single rule in the policy.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Optional
<T> getAnnotation
(Rule.Key<T> key) boolean
isFinal()
boolean
-
Method Details
-
getPermissions
Set<Permission> getPermissions() -
getIncludedSubjects
-
getExcludedSubjects
-
getCondition
Node getCondition() -
isNegative
boolean isNegative()- Returns:
false
if the rule is a GRANT,true
if it's a DENY rule.
-
isFinal
boolean isFinal() -
getModule
AppModule getModule() -
getSelector
Selector getSelector() -
getAnnotation
-
annotations
-