Schnittstelle DynamicAccessControlList
- Alle Superschnittstellen:
AccessControlList
,Serializable
- Alle bekannten Implementierungsklassen:
DynamicAccessControlListImpl
This interface describes a control class that makes it easy to find out if a
particular User has a given Permission. It also determines if a User has a a
particular Role.
- Version:
- $Id$
- Autor:
- Eric Pugh, Brett McLaughlin, Greg Ritter, Rafal Krzewski, Henning P. Schmiedehausen, Marco Knüttel
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungRetrieves a set of Permissions an user is assignedgetPermissions
(Group group) Retrieves a set of Permissions an user is assigned in a Group.getRoles()
Retrieves all roles for a userRetrieves a set of Roles an user is assigned in a Group.boolean
hasPermission
(String permission) Checks if the user is assigned a specific Permission in the global Group.boolean
hasPermission
(String permission, String group) Checks if the user is assigned a specific Permission in the Group.boolean
hasPermission
(String permission, Group group) Checks if the user is assigned a specific Permission in the Group.boolean
hasPermission
(String permissionName, GroupSet groupset) Checks if the user is assigned a specifie Permission in any of the given Groupsboolean
hasPermission
(Permission permission) Checks if the user is assigned a specific Permission in the global Group.boolean
hasPermission
(Permission permission, Group group) Checks if the user is assigned a specific Permission in the Group.boolean
hasPermission
(Permission permission, GroupSet groupset) Checks if the user is assigned a specific Permission in any of the given Groupsboolean
Checks if the user is assigned a specific Role.boolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specifie Role in any of the given Groupsboolean
Checks if the user is assigned a specific Role in the global Group.boolean
Checks if the user is assigned a specific Role in the Group.boolean
Checks if the user is assigned a specific Role in any of the given Groups
-
Methodendetails
-
getRoles
Retrieves a set of Roles an user is assigned in a Group.- Parameter:
group
- the Group- Gibt zurück:
- the set of Roles this user has within the Group.
-
getRoles
RoleSet getRoles()Retrieves all roles for a user- Gibt zurück:
- the set of Roles this user has
-
getPermissions
Retrieves a set of Permissions an user is assigned in a Group.- Parameter:
group
- the Group- Gibt zurück:
- the set of Permissions this user has within the Group.
-
getPermissions
PermissionSet getPermissions()Retrieves a set of Permissions an user is assigned- Gibt zurück:
- the set of Permissions this user has.
-
hasRole
Checks if the user is assigned a specific Role in the Group.- Parameter:
role
- the Rolegroup
- the Group- Gibt zurück:
true
if the user is assigned the Role in the Group.
-
hasRole
Checks if the user is assigned a specific Role in any of the given Groups- Parameter:
role
- the Rolegroupset
- a Groupset- Gibt zurück:
true
if the user is assigned the Role in any of the given Groups.
-
hasRole
Checks if the user is assigned a specific Role in the Group.- Parameter:
role
- the Rolegroup
- the Group- Gibt zurück:
true
if the user is assigned the Role in the Group.
-
hasRole
Checks if the user is assigned a specifie Role in any of the given Groups- Parameter:
rolename
- the name of the Rolegroupset
- a Groupset- Gibt zurück:
true
if the user is assigned the Role in any of the given Groups.
-
hasRole
Checks if the user is assigned a specific Role in the global Group.- Parameter:
role
- the Role- Gibt zurück:
true
if the user is assigned the Role in the global Group.
-
hasRole
Checks if the user is assigned a specific Role.- Parameter:
role
- the Role- Gibt zurück:
true
if the user is assigned the Role.
-
hasPermission
Checks if the user is assigned a specific Permission in the Group.- Parameter:
permission
- the Permissiongroup
- the Group- Gibt zurück:
true
if the user is assigned the Permission in the Group.
-
hasPermission
Checks if the user is assigned a specific Permission in any of the given Groups- Parameter:
permission
- the Permissiongroupset
- a Groupset- Gibt zurück:
true
if the user is assigned the Permission in any of the given Groups.
-
hasPermission
Checks if the user is assigned a specific Permission in the Group.- Parameter:
permission
- the Permissiongroup
- the Group- Gibt zurück:
true
if the user is assigned the Permission in the Group.
-
hasPermission
Checks if the user is assigned a specific Permission in the Group.- Parameter:
permission
- the Permissiongroup
- the Group- Gibt zurück:
true
if the user is assigned the Permission in the Group.
-
hasPermission
Checks if the user is assigned a specifie Permission in any of the given Groups- Parameter:
permissionName
- the name of the Permissiongroupset
- a Groupset- Gibt zurück:
true
if the user is assigned the Permission in any of the given Groups.
-
hasPermission
Checks if the user is assigned a specific Permission in the global Group.- Parameter:
permission
- the Permission- Gibt zurück:
true
if the user is assigned the Permission in the global Group.
-
hasPermission
Checks if the user is assigned a specific Permission in the global Group.- Parameter:
permission
- the Permission- Gibt zurück:
true
if the user is assigned the Permission in the global Group.
-