Class PermissionLimitBase
java.lang.Object
edu.internet2.middleware.grouper.permissions.limits.PermissionLimitBase
- All Implemented Interfaces:
PermissionLimitInterface
- Direct Known Subclasses:
PermissionLimitAmountLessThan
,PermissionLimitAmountLessThanEquals
,PermissionLimitElLogic
,PermissionLimitIpOnNetworkRealm
,PermissionLimitIpOnNetworks
,PermissionLimitLabelsContain
,PermissionLimitWeekday9to5Logic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
if we can cache the result for a some minutes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.internet2.middleware.grouper.permissions.limits.PermissionLimitInterface
allowPermission, documentation, validateLimitAssignValue
-
Constructor Details
-
PermissionLimitBase
public PermissionLimitBase()
-
-
Method Details
-
cacheLimitValueResultMinutes
public int cacheLimitValueResultMinutes()Description copied from interface:PermissionLimitInterface
if we can cache the result for a some minutes. i.e. for the same attribute assignment and value and input map, is the result the same... e.g. ip address math can be cached, amount limits, etc. If there are conditions about the permission names, then dont cache- Specified by:
cacheLimitValueResultMinutes
in interfacePermissionLimitInterface
- Returns:
- the number of minutes to cache
- See Also:
-