Package | Description |
---|---|
org.apache.jetspeed.security |
Jetspeed security service interfaces.
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleManager.addRole(String roleName)
Add a new role
|
Role |
RoleManager.addRole(String roleName,
boolean mapped)
Add a new role and optionally map/replicate it to an external storage manager (if configured).
|
Role |
RoleManager.getRole(String roleName)
Get a role
Role for a given role name. |
Role |
RoleManager.newRole(String name,
boolean mapped) |
Role |
RoleManager.newTransientRole(String name) |
Modifier and Type | Method and Description |
---|---|
List<Role> |
RoleManager.getRoles(String nameFilter)
Retrieves a detached and modifiable
Role list matching the corresponding
role name filter. |
List<Role> |
RoleManager.getRolesAssociatedFrom(Role from,
String associationName)
Retrieve all the roles which are associated from the provided role.
|
List<Role> |
RoleManager.getRolesAssociatedTo(Role to,
String associationName)
Retrieve all the roles which are associated to the provided role.
|
List<Role> |
RoleManager.getRolesForUser(String username)
Retrieves a detached and modifiable
Role list of all the roles
associated to a specific user. |
List<Role> |
RoleManager.getRolesInGroup(String groupName)
Retrieves a detached and modifiable
Role list of all the roles
associated to a specific group. |
Modifier and Type | Method and Description |
---|---|
void |
RoleManager.addRoleToRole(Role from,
Role to,
String associationName)
Add a hierarchical association between two roles.
|
List<Role> |
RoleManager.getRolesAssociatedFrom(Role from,
String associationName)
Retrieve all the roles which are associated from the provided role.
|
List<Role> |
RoleManager.getRolesAssociatedTo(Role to,
String associationName)
Retrieve all the roles which are associated to the provided role.
|
void |
RoleManager.removeRoleFromRole(Role from,
Role to,
String associationName)
Remove a hierarchical association between two roles.
|
void |
RoleManager.updateRole(Role role)
Updates a role and all its attributes
|
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.