public class PermissionLimitWeekday9to5Logic extends PermissionLimitBase
| Constructor and Description |
|---|
PermissionLimitWeekday9to5Logic() |
| 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
|
cacheLimitValueResultMinutespublic boolean allowPermission(PermissionEntry permissionEntry, AttributeAssign limitAssignment, Set<AttributeAssignValue> limitAssignmentValues, Map<String,Object> limitEnvVars, Set<PermissionLimitBean> permissionLimitBeans)
PermissionLimitInterfacepermissionEntry - 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()
PermissionLimitInterfacePermissionLimitInterface.documentation()public PermissionLimitDocumentation validateLimitAssignValue(AttributeAssign limitAssign, Set<AttributeAssignValue> limitAssignmentValues)
PermissionLimitInterfacePermissionLimitInterface.validateLimitAssignValue(AttributeAssign, Set)Copyright © 2016 Internet2. All rights reserved.