|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.AppRoles
ApplicationRoles contains the Roleobjects for the roles in an
Application. The roles are loaded from the WebADE Directory.
Currently the WebADE Directory is implemented in the NT Registry.
| Method Summary | |
Role |
getRole(java.lang.String roleName)
get the Roleobject for the given role name. |
java.lang.String[] |
getRoleNames()
get the list of valid role names for the parent Application. |
Role[] |
getRolesByAction(Action action)
Get the Roles associated with an action, if any. |
Role[] |
getRolesByAction(java.lang.String actionName)
Deprecated. Use getRolesByAction(ca.bc.gov.webade.Action) instead. |
boolean |
isRoleName(java.lang.String roleName)
Test if the name is a valid role name in the parent Application. |
boolean |
roleHasAction(java.lang.String roleName,
java.lang.String actionName)
test if the name is a valid role name in the parent Application. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String[] getRoleNames()
Application.
public boolean isRoleName(java.lang.String roleName)
Application.
roleName - The role name to locate in the application's set of roles.
public boolean roleHasAction(java.lang.String roleName,
java.lang.String actionName)
Application.
roleName - The name of the target role to check.actionName - The action name to locate in that role.
public Role getRole(java.lang.String roleName)
Roleobject for the given role name.
roleName - the name of an role for this application
null if the name is not a valid
rolename.public Role[] getRolesByAction(Action action)
action - The target action
public Role[] getRolesByAction(java.lang.String actionName)
actionName - the name of an action
null if the group name does not map
to any role.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||