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
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T> getAnnotation(Rule.Key<T> key) booleanisFinal()boolean
-
Method Details
-
getPermissions
Set<Permission> getPermissions() -
getIncludedSubjects
-
getExcludedSubjects
-
getCondition
Node getCondition() -
isNegative
boolean isNegative()- Returns:
falseif the rule is a GRANT,trueif it's a DENY rule.
-
isFinal
boolean isFinal() -
getModule
AppModule getModule() -
getSelector
Selector getSelector() -
getAnnotation
-
annotations
-