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 PortableApplicationRole

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

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PortableAdminRole

public class PortableApplicationRole
extends PortablePrincipal

Encapsulating class to make an Application 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

 

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

 

Method Summary
 boolean equals(java.lang.Object that)
           
static PortableApplicationRole from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance.
 java.lang.String getApplicationId()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getGuid()
           
 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, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PortableApplicationRole

public PortableApplicationRole(java.lang.String name,
                               java.lang.String displayName,
                               java.lang.String description,
                               java.lang.String guid,
                               java.lang.String appId)
Constructor.
Parameters:
name - Name of the Role
displayName - Display Name
description - description
guid - Guid

Method Detail

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

getDisplayName

public java.lang.String getDisplayName()
Returns:
Returns the displayName.

getGuid

public java.lang.String getGuid()
Returns:
Returns the gUID.

getApplicationId

public java.lang.String getApplicationId()
Returns:
Returns the Application Id

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 PortableApplicationRole 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

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.