|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
org.systinet.security.perm.WASPRole
WASPRole permission can be used by policy implementations to group permissions into a role.
Constructor Summary | |
WASPRole(java.lang.String name)
Creates role permission. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks two Permission objects for equality. |
java.lang.String |
getActions()
No actions supported by this permission. |
int |
hashCode()
Always return the value getName().hashCode() or 3 if getName() returns null . |
boolean |
implies(java.security.Permission permission)
A permissions is implied from this permission if given permission is instance of WASPRole and their names are equal. |
java.security.PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection object for storing WASPRole objects. |
java.lang.String |
toString()
Overriden to return complete description of this permission. |
Methods inherited from class java.security.Permission |
checkGuard, getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WASPRole(java.lang.String name)
name
- of of the role, it cannot be null
Method Detail |
public java.lang.String toString()
public java.lang.String getActions()
null
public boolean implies(java.security.Permission permission)
public int hashCode()
null
.
public boolean equals(java.lang.Object obj)
obj
- the object we are testing for equality with this object
true
if both Permission objects are equivalent.public java.security.PermissionCollection newPermissionCollection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |