Skip navigation links

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

E14651-03


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

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

All Implemented Interfaces:
java.io.Serializable

public class PortableRoleMember
extends PortablePrincipal
implements java.io.Serializable

Class to make a Role Member 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

 

Constructor Summary
PortableRoleMember(java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
          Constructor This is used for all well known Principals
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType)
          Constructor.
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId)
          Constructor
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
          Constructor
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
          Constructor This is used for Custom Principals

 

Method Summary
 boolean equals(java.lang.Object that)
           
static PortableRoleMember from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance.
 java.lang.String getApplicationId()
          Method to get the application Id
 java.lang.String getGuid()
          Method to get the guid
 java.lang.String getUniqueName()
          Method to get the uniquename
 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.
 java.lang.String 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

 

Constructor Detail

PortableRoleMember

public PortableRoleMember(java.lang.String principalClzName,
                          java.lang.String principalName,
                          PortablePrincipal.PrincipalType principalType)
Constructor.
Parameters:
principalClzName - The Class Name of the Principal
principalName - Name of the Principal
principalType - The Type of the Principal

PortableRoleMember

public PortableRoleMember(java.lang.String principalClzName,
                          java.lang.String principalName,
                          PortablePrincipal.PrincipalType principalType,
                          java.lang.String appId)
Constructor
Parameters:
principalClzName - The Class Name of the Principal
principalName - Name of the Principal
principalType - The Type of the Principal
appId - The Application Id

PortableRoleMember

public PortableRoleMember(java.lang.String principalClzName,
                          java.lang.String principalName,
                          PortablePrincipal.PrincipalType principalType,
                          java.lang.String appId,
                          java.lang.String guid,
                          java.lang.String uniquename)
Constructor
Parameters:
principalClzName - The Class Name of the Principal
principalName - Name of the Principal
principalType - The Type of the Principal
appId - The Application Id
guid - The guid of the role member
uniquename - The uniquename of role member

PortableRoleMember

public PortableRoleMember(java.lang.String principalName,
                          PortablePrincipal.PrincipalType principalType,
                          java.lang.String appId,
                          java.lang.String guid,
                          java.lang.String uniquename)
Constructor This is used for all well known Principals
Parameters:
principalName - Name of the Principal
principalType - The Type of the Principal
appId - The Application Id
guid - The guid of the role member
uniquename - The uniquename of role member

PortableRoleMember

public PortableRoleMember(java.lang.String principalClzName,
                          java.lang.String principalName,
                          java.lang.String appId,
                          java.lang.String guid,
                          java.lang.String uniquename)
Constructor This is used for Custom Principals
Parameters:
principalName - Name of the Principal
principalType - The Type of the Principal
appId - The Application Id
guid - The guid of the role member
uniquename - The uniquename of role member

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class PortablePrincipal

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 PortablePrincipal
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 PortableRoleMember 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 PortablePrincipal

hashCode

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

getApplicationId

public java.lang.String getApplicationId()
Method to get the application Id
Returns:

getGuid

public java.lang.String getGuid()
Method to get the guid
Returns:

getUniqueName

public java.lang.String getUniqueName()
Method to get the uniquename
Returns:

Skip navigation links

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

E14651-03


Copyright © 2010, Oracle. All rights reserved.