com.ibm.sec.authz.jaccplus
Class GenericRoleRefPermission
- java.lang.Object
java.security.Permission
com.ibm.sec.authz.jaccplus.GenericRoleRefPermission
All implemented interfaces:
java.io.Serializable, java.security.Guard
- public class GenericRoleRefPermission
- extends java.security.Permission
Permission
that can be used as a
holder for a role name.
See Also:
Constructor Summary
Constructor and Description |
---|
GenericRoleRefPermission(java.lang.String name)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
equals(java.lang.Object obj)
|
|
getActions()
The getActions method is not supported for this Permission
type.
|
|
hashCode()
|
|
implies(java.security.Permission permission)
This permission implies another, if the other permission is also a GenericRoleRefPermission
and has an equal name (ie role).
|
|
toString()
|
Methods inherited from class java.security.Permission |
---|
checkGuard, getName, newPermissionCollection |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail
GenericRoleRefPermission
- public GenericRoleRefPermission( java.lang.String name)
Method Detail
getActions
- public java.lang.String getActions( )
The getActions method is not supported for this Permission
type. If called it will throw an
UnsupportedOperationException
Specified by:
getActions
in class java.security.Permission
Returns:
String
equals
- public boolean equals(java.lang.Object obj)
Specified by:
equals
in class java.security.Permission
hashCode
- public int hashCode()
Specified by:
hashCode
in class java.security.Permission
implies
- public boolean implies(java.security.Permission permission)
This permission implies another, if the other permission is also a GenericRoleRefPermission
and has an equal name (ie role). This is the equivalent of calling equals().
Specified by:
implies
in class java.security.Permission
Parameters:
permission
- Returns:
boolean
toString
- public java.lang.String toString( )
Overrides:
toString
in class java.security.Permission