| Package | Description |
|---|---|
| com.helger.photon.basic.security | |
| com.helger.photon.basic.security.role | |
| com.helger.photon.basic.security.role.callback |
| Modifier and Type | Method and Description |
|---|---|
IRole |
AccessManager.createNewRole(String sName,
String sDescription,
Map<String,?> aCustomAttrs) |
IRole |
AccessManager.createPredefinedRole(String sID,
String sName,
String sDescription,
Map<String,?> aCustomAttrs) |
IRole |
AccessManager.getRoleOfID(String sRoleID) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends IRole> |
AccessManager.getAllRoles() |
Set<IRole> |
IAccessManager.getAllUserRoles(String sUserID)
Get all roles the current user has
|
Set<IRole> |
AccessManager.getAllUserRoles(String sUserID) |
| Modifier and Type | Class and Description |
|---|---|
class |
Role
Default implementation of the
IRole interface. |
| Modifier and Type | Method and Description |
|---|---|
IRole |
RoleManager.createNewRole(String sName,
String sDescription,
Map<String,?> aCustomAttrs) |
IRole |
IRoleManager.createNewRole(String sName,
String sDescription,
Map<String,?> aCustomAttrs)
Create a new role.
|
IRole |
RoleManager.createPredefinedRole(String sID,
String sName,
String sDescription,
Map<String,?> aCustomAttrs) |
IRole |
IRoleManager.createPredefinedRole(String sID,
String sName,
String sDescription,
Map<String,?> aCustomAttrs)
Create a predefined role.
|
IRole |
IRoleManager.getRoleOfID(String sRoleID)
Get the role with the specified ID
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends IRole> |
RoleManager.getAllRoles() |
Collection<? extends IRole> |
IRoleManager.getAllRoles() |
| Modifier and Type | Method and Description |
|---|---|
void |
IRoleModificationCallback.onRoleCreated(IRole aRole,
boolean bPredefinedRole)
Called after a role was created.
|
void |
DefaultRoleModificationCallback.onRoleCreated(IRole aRole,
boolean bPredefinedRole) |
void |
IRoleModificationCallback.onRoleDeleted(IRole aRole)
Called after a role was deleted.
|
void |
DefaultRoleModificationCallback.onRoleDeleted(IRole aRole) |
void |
IRoleModificationCallback.onRoleRenamed(IRole aRole)
Called after a role was renamed.
|
void |
DefaultRoleModificationCallback.onRoleRenamed(IRole aRole) |
void |
IRoleModificationCallback.onRoleUpdated(IRole aRole)
Called after a role was edited fully.
|
void |
DefaultRoleModificationCallback.onRoleUpdated(IRole aRole) |
Copyright © 2014–2015 Philip Helger. All rights reserved.