Skip navigation links

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

E14651-05


oracle.security.jps.mas.mgmt.jmx.credstore
Class PortablePasswordCredential

java.lang.Object
  extended by oracle.security.jps.mas.mgmt.jmx.credstore.PortableCredential
      extended by oracle.security.jps.mas.mgmt.jmx.credstore.PortablePasswordCredential

All Implemented Interfaces:
java.io.Serializable

public class PortablePasswordCredential
extends PortableCredential

Class which helps makes a portable Password Credential.

See Also:
Serialized Form

Constructor Summary
PortablePasswordCredential(java.lang.String name, char[] password)
          Constructor
PortablePasswordCredential(java.lang.String name, char[] password, java.util.Calendar expiryTime)
          Constructor
PortablePasswordCredential(java.lang.String name, char[] password, java.util.Calendar expiryTime, java.lang.String desc)
          Constructor
PortablePasswordCredential(java.lang.String name, char[] password, java.lang.String desc)
          Constructor

 

Method Summary
 boolean equals(java.lang.Object obj)
           
static PortablePasswordCredential from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance.
 java.util.Calendar getExpiryTime()
           
 java.lang.String getName()
           
 char[] getPassword()
           
 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.credstore.PortableCredential
getDescription, setDescription

 

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

 

Constructor Detail

PortablePasswordCredential

@ConstructorProperties(value={"name","password","expiry_time","description"})
public PortablePasswordCredential(java.lang.String name,
                                                        char[] password,
                                                        java.util.Calendar expiryTime,
                                                        java.lang.String desc)
Constructor
Parameters:
name - Name of the User
password - password of the user
expiryTime - Expiry Time.

PortablePasswordCredential

@ConstructorProperties(value={"name","password","expiry_time"})
public PortablePasswordCredential(java.lang.String name,
                                                        char[] password,
                                                        java.util.Calendar expiryTime)
Constructor
Parameters:
name - Name of the User
password - password of the user
expiryTime - Expiry Time.

PortablePasswordCredential

@ConstructorProperties(value={"name","password"})
public PortablePasswordCredential(java.lang.String name,
                                                        char[] password)
Constructor
Parameters:
name - Name of the User
password - password of the user

PortablePasswordCredential

@ConstructorProperties(value={"name","password","description"})
public PortablePasswordCredential(java.lang.String name,
                                                        char[] password,
                                                        java.lang.String desc)
Constructor
Parameters:
name - Name of the User
password - password of the user

Method Detail

toString

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

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 PortableCredential
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 PortablePasswordCredential 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

getExpiryTime

public java.util.Calendar getExpiryTime()

getName

public java.lang.String getName()

getPassword

public char[] getPassword()

equals

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

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)

E14651-05


Copyright © 2011, Oracle. All rights reserved.