Package org.bremersee.acl
Class AccessEvaluator.Impl
java.lang.Object
org.bremersee.acl.AccessEvaluator.Impl
- All Implemented Interfaces:
AccessEvaluator
- Enclosing interface:
AccessEvaluator
The default access evaluator implementation.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bremersee.acl.AccessEvaluator
AccessEvaluator.Impl -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(AclUserContext userContext, String permission) Determines whether the given user with the given roles and groups has the specified permission.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bremersee.acl.AccessEvaluator
hasPermissions
-
Method Details
-
hasPermission
Description copied from interface:AccessEvaluatorDetermines whether the given user with the given roles and groups has the specified permission.- Specified by:
hasPermissionin interfaceAccessEvaluator- Parameters:
userContext- the user contextpermission- the permission- Returns:
trueif the user has the permission, otherwisefalse
-