com.ibm.sec.authz.jaccplus

Class GenericRoleRefPermission

  1. java.lang.Object
  2. extended byjava.security.Permission
  3. extended bycom.ibm.sec.authz.jaccplus.GenericRoleRefPermission
All implemented interfaces:
java.io.Serializable, java.security.Guard

  1. public class GenericRoleRefPermission
  2. extends java.security.Permission
An implementation of Permission that can be used as a holder for a role name.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
GenericRoleRefPermission(java.lang.String name)

Method Summary

Modifier and Type Method and Description
  1. boolean
equals(java.lang.Object obj)
  1. java.lang.String
getActions()
The getActions method is not supported for this Permission type.
  1. int
hashCode()
  1. 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).
  1. java.lang.String
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

  1. public GenericRoleRefPermission( java.lang.String name)

Method Detail

getActions

  1. 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

  1. public boolean equals(java.lang.Object obj)
Specified by:
equals in class java.security.Permission

hashCode

  1. public int hashCode()
Specified by:
hashCode in class java.security.Permission

implies

  1. 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

  1. public java.lang.String toString( )
Overrides:
toString in class java.security.Permission