Package ch.tocco.nice2.security.impl
Class RuleImpl
java.lang.Object
ch.tocco.nice2.security.impl.RuleImpl
- All Implemented Interfaces:
Rule
,Serializable
- Direct Known Subclasses:
RuleBuilderImpl
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Node
protected boolean
protected AppModule
protected boolean
protected Set
<Permission> protected Selector
-
Method Summary
-
Field Details
-
selector
-
permissions
-
includedSubjects
-
excludedSubjects
-
condition
-
negative
protected boolean negative -
isFinal
protected boolean isFinal -
module
-
annotations
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getSelector
- Specified by:
getSelector
in interfaceRule
-
getPermissions
- Specified by:
getPermissions
in interfaceRule
-
getIncludedSubjects
- Specified by:
getIncludedSubjects
in interfaceRule
-
getExcludedSubjects
- Specified by:
getExcludedSubjects
in interfaceRule
-
getCondition
- Specified by:
getCondition
in interfaceRule
-
isNegative
public boolean isNegative()- Specified by:
isNegative
in interfaceRule
- Returns:
false
if the rule is a GRANT,true
if it's a DENY rule.
-
isFinal
public boolean isFinal() -
getModule
-
getAnnotation
- Specified by:
getAnnotation
in interfaceRule
-
annotations
- Specified by:
annotations
in interfaceRule
-