|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.Role
Contains all information about an application role. This information is read from the WebADE Directory.
| Constructor Summary | |
Role(Role role)
Creates a new Role object with the same settings as the given role. |
|
Role(java.lang.String name,
Action[] actions)
Create a role with all associated security information. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
Action[] |
getActions()
get the names of the actions mapped to this role. |
java.lang.String |
getName()
Return Role Name |
boolean |
hasAction(Action action)
Returns true if the given action is found in this role. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Role(Role role)
role -
public Role(java.lang.String name,
Action[] actions)
name - The application-unique name of the role.actions - The set of actions assigned to this role.| Method Detail |
public java.lang.String getName()
public Action[] getActions()
public boolean hasAction(Action action)
action - The target action to find.
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)public int hashCode()
Object.hashCode()public java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||