oracle.security.jazn.policy
Class RoleAdminPermission
java.lang.Object
|
+--java.security.Permission
|
+--oracle.security.jazn.policy.RoleAdminPermission
- All Implemented Interfaces:
- Guard, Serializable
- public class RoleAdminPermission
- extends Permission
The grantee of this permission is granted the right to further
grant/revoke the target role
- See Also:
- Serialized Form
RoleAdminPermission
public RoleAdminPermission(String name)
- Creates a new RoleAdminPermission instance.
The name of the role should be specified in the form: /.
An input "*" to the rolename will match any roles in the system.
An input "/*" will match any roles in the specified realm.
- Parameters:
name
- The name of the role whose admin option
is to be granted.
RoleAdminPermission
public RoleAdminPermission(String name,
String actions)
- Creates a new RoleAdminPermission instance.
The name of the role should be specified in the form: /.
An input "*" to the rolename will match any roles in the system.
An input "/*" will match any roles in the specified realm.
- Parameters:
name
- The name of the role whose admin option
is to be granted.actions
- The action string. This argument is ignored.
RoleAdminPermission
public RoleAdminPermission(RealmRole r)
- Creates a new RoleAdminPermission instance.
- Parameters:
r
- the role whose admin option is to be granted.
getRole
public RealmRole getRole()
throws JAZNException
- Returns the role associated with this permission.
- Returns:
- the role associated with this permission.
throws JAZNException
implies
public boolean implies(Permission p)
- Overrides:
implies
in class Permission
getActions
public String getActions()
- Overrides:
getActions
in class Permission
hashCode
public int hashCode()
- Overrides:
hashCode
in class Permission
equals
public boolean equals(Object o)
- Overrides:
equals
in class Permission
Copyright 2001, Oracle Corporation. All Rights Reserved.