Method Summary |
|
public Group[] | getAllGroups() Returns all groups definded in the system.
This is useful for debugging, when you want to display all roles
and permissions an user is assingned. |
public String | getName() Returns the name of this ACL. |
public PermissionSet | getPermissions(Group group) Retrieves a set of Permissions an user is assigned in a Group. |
public PermissionSet | getPermissions() Retrieves a set of Permissions an user is assigned in the global Group. |
public RoleSet | getRoles(Group group) Retrieves a set of Roles an user is assigned in a Group. |
public RoleSet | getRoles() Retrieves a set of Roles an user is assigned in the global Group. |
public boolean | hasPermission(Permission permission, Group group) Checks if the user is assigned a specific Permission in the Group. |
public boolean | hasPermission(Permission permission, GroupSet groupset) |
public boolean | hasPermission(String permission, String group) Checks if the user is assigned a specific Permission in the Group. |
public boolean | hasPermission(String permission, Group group) Checks if the user is assigned a specific Permission in the Group. |
public boolean | hasPermission(String permissionName, GroupSet groupset) |
public boolean | hasPermission(Permission permission) Checks if the user is assigned a specific Permission in the global Group. |
public boolean | hasPermission(String permission) Checks if the user is assigned a specific Permission in the global Group. |
public boolean | hasRole(Role role, Group group) Checks if the user is assigned a specific Role in the Group. |
public boolean | hasRole(Role role, GroupSet groupset) |
public boolean | hasRole(String role, String group) Checks if the user is assigned a specific Role in the Group. |
public boolean | hasRole(String rolename, GroupSet groupset) |
public boolean | hasRole(Role role) Checks if the user is assigned a specific Role in the global Group. |
public boolean | hasRole(String role) Checks if the user is assigned a specific Role in the global Group. |
public void | setName(String name) Sets the name of this ACL. |