public class PermissionLimitLabelsContain extends PermissionLimitBase
Constructor and Description |
---|
PermissionLimitLabelsContain() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowPermission(PermissionEntry permissionEntry,
AttributeAssign limitAssignment,
Set<AttributeAssignValue> limitAssignmentValues,
Map<String,Object> limitEnvVars,
Set<PermissionLimitBean> permissionLimitBeans)
if the limit allowed the permission to be allowed
|
PermissionLimitDocumentation |
documentation()
return a UI key to documentation about the limit.
|
PermissionLimitDocumentation |
validateLimitAssignValue(AttributeAssign limitAssign,
Set<AttributeAssignValue> limitAssignmentValues)
validate a user entered value(s) on the limit assignment
|
cacheLimitValueResultMinutes
public boolean allowPermission(PermissionEntry permissionEntry, AttributeAssign limitAssignment, Set<AttributeAssignValue> limitAssignmentValues, Map<String,Object> limitEnvVars, Set<PermissionLimitBean> permissionLimitBeans)
PermissionLimitInterface
permissionEntry
- to checklimitAssignment
- the assignment of the limit (e.g. to the permission
assignment a parent assignment, or the role, etc)limitEnvVars
- value could be String, Long, or DoublepermissionLimitBeans
- all limits for this permission (in case the limit logic needs it...
note, dont use built in caching if this is the case)PermissionLimitInterface.allowPermission(PermissionEntry, AttributeAssign, Set, Map, Set)
public PermissionLimitDocumentation documentation()
PermissionLimitInterface
PermissionLimitInterface.documentation()
public PermissionLimitDocumentation validateLimitAssignValue(AttributeAssign limitAssign, Set<AttributeAssignValue> limitAssignmentValues)
PermissionLimitInterface
PermissionLimitInterface.validateLimitAssignValue(AttributeAssign, Set)
Copyright © 2016 Internet2. All rights reserved.