Package org.bremersee.security.access
Class AccessController.Impl
- java.lang.Object
 - 
- org.bremersee.security.access.AccessController.Impl
 
 
- 
- All Implemented Interfaces:
 AccessController
- Enclosing interface:
 - AccessController
 
public static class AccessController.Impl extends Object implements AccessController
The default access controller implementation. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.bremersee.security.access.AccessController
AccessController.Impl 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasPermission(String user, Collection<String> roles, Collection<String> groups, 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, wait 
- 
Methods inherited from interface org.bremersee.security.access.AccessController
hasAllPermissions, hasAllPermissions, hasAnyPermission, hasAnyPermission 
 - 
 
 - 
 
- 
- 
Method Detail
- 
hasPermission
public boolean hasPermission(String user, Collection<String> roles, Collection<String> groups, String permission)
Description copied from interface:AccessControllerDetermines whether the given user with the given roles and groups has the specified permission.- Specified by:
 hasPermissionin interfaceAccessController- Parameters:
 user- the userroles- the rolesgroups- the groupspermission- the permission- Returns:
 trueif the user has the permission, otherwisefalse
 
 - 
 
 -