Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1.1)

E14651-02


oracle.security.jps.mas.mgmt.jmx.policy
Class PortableAdminRole

java.lang.Object
  extended by oracle.security.jps.mas.mgmt.jmx.policy.PortablePrincipal
      extended by oracle.security.jps.mas.mgmt.jmx.policy.PortableApplicationRole
          extended by oracle.security.jps.mas.mgmt.jmx.policy.PortableAdminRole

All Implemented Interfaces:
java.io.Serializable

public class PortableAdminRole
extends PortableApplicationRole
implements java.io.Serializable

Encapsulating class to make an Admin Role as serializable.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.jps.mas.mgmt.jmx.policy.PortablePrincipal
PortablePrincipal.PrincipalType

 

Field Summary
static java.lang.String ADMINISTRATOR_ROLE
          Suffix for Administrator Role Type
static java.lang.String AUDITOR_ROLE
          Suffix for Audit Administrator Role Type.
static java.lang.String AUDITOR_VIEWER_ROLE
          Suffix for Audit Administrator Role Type.
static java.lang.String MONITOR_ROLE
          Suffix for Monitor Role Type.
static java.lang.String OPERATOR_ROLE
          Suffix for Operator Role Type
static java.lang.String SCOPE_APPLN_KEY
          The application key value.
static java.lang.String SCOPE_ASINSTANCE_KEY
          The asinstance key value.
static java.lang.String SCOPE_FARM_KEY
          The farm key value.
static java.lang.String TYPE_KEY
          The type key value.

 

Constructor Summary
PortableAdminRole(java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String guid)
          Constructor.

 

Method Summary
 boolean equals(java.lang.Object that)
           
static PortableAdminRole from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance.
 java.lang.String getAdminRoleName()
          Function to return the Admin Role Name
 int hashCode()
           
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class.

 

Methods inherited from class oracle.security.jps.mas.mgmt.jmx.policy.PortableApplicationRole
getApplicationId, getDescription, getDisplayName, getGuid, toString

 

Methods inherited from class oracle.security.jps.mas.mgmt.jmx.policy.PortablePrincipal
getPrincipalClassName, getPrincipalName, getType

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

SCOPE_FARM_KEY

public static final java.lang.String SCOPE_FARM_KEY
The farm key value.
See Also:
Constant Field Values

SCOPE_ASINSTANCE_KEY

public static final java.lang.String SCOPE_ASINSTANCE_KEY
The asinstance key value.
See Also:
Constant Field Values

SCOPE_APPLN_KEY

public static final java.lang.String SCOPE_APPLN_KEY
The application key value.
See Also:
Constant Field Values

TYPE_KEY

public static final java.lang.String TYPE_KEY
The type key value.
See Also:
Constant Field Values

ADMINISTRATOR_ROLE

public static final java.lang.String ADMINISTRATOR_ROLE
Suffix for Administrator Role Type
See Also:
Constant Field Values

OPERATOR_ROLE

public static final java.lang.String OPERATOR_ROLE
Suffix for Operator Role Type
See Also:
Constant Field Values

MONITOR_ROLE

public static final java.lang.String MONITOR_ROLE
Suffix for Monitor Role Type.
See Also:
Constant Field Values

AUDITOR_VIEWER_ROLE

public static final java.lang.String AUDITOR_VIEWER_ROLE
Suffix for Audit Administrator Role Type.
See Also:
Constant Field Values

AUDITOR_ROLE

public static final java.lang.String AUDITOR_ROLE
Suffix for Audit Administrator Role Type.
See Also:
Constant Field Values

Constructor Detail

PortableAdminRole

public PortableAdminRole(java.lang.String name,
                         java.lang.String displayName,
                         java.lang.String description,
                         java.lang.String guid)
Constructor.
Parameters:
name - Name of the Admin Role. Should be of the type 'farm=farm1, asinstance=a1, type=operator'
displayName - Display Name for the Admin Role
description - Description for Admin Role
guid - Guid that is to be assicated with this Admin Role

Method Detail

getAdminRoleName

public java.lang.String getAdminRoleName()
Function to return the Admin Role Name
Returns:
String which represents the Admin Role Name

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class.
Returns:
CompositeType assiciated with this class.

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean.
Overrides:
toCompositeData in class PortableApplicationRole
Parameters:
ct - - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.
Returns:
CompositeData which represents this class

from

public static PortableAdminRole from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
Parameters:
cd - Composite Data which has information regarding the object
Returns:
Object of this specific class got after retrieving information from the Composite Data

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class PortableApplicationRole

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1.1)

E14651-02


Copyright © 2009, Oracle. All rights reserved.