Interface AccessRule
-
- All Known Implementing Classes:
FastFailAccessRule
public interface AccessRule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCheck(Check attr)booleancontainsCheckUri(String uri)CheckgetCheck(String uri)List<Check>getChecks()Set<Check>getChecksByType(Attribute type)longgetChecksCount()Set<String>getCheckUris()StringgetRuleUri()booleanisAllowMatched()booleanmatch(AuthorizationRequest ar)voidsetAllowMatched(boolean allowMatched)voidsetRuleUri(String ruleUri)
-
-
-
Method Detail
-
isAllowMatched
boolean isAllowMatched()
-
setAllowMatched
void setAllowMatched(boolean allowMatched)
-
getRuleUri
String getRuleUri()
-
setRuleUri
void setRuleUri(String ruleUri)
-
match
boolean match(AuthorizationRequest ar)
-
addCheck
void addCheck(Check attr)
-
containsCheckUri
boolean containsCheckUri(String uri)
-
getChecksCount
long getChecksCount()
-
-