|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.security.jps.service.credstore.PasswordCredentialImpl
public class PasswordCredentialImpl
| Field Summary | |
|---|---|
static java.lang.Class |
CLASS_INSTANCE
|
| Constructor Summary | |
|---|---|
PasswordCredentialImpl()
Creates a new empty Password Credential object. |
|
PasswordCredentialImpl(java.lang.String name,
char[] password,
java.lang.String description,
java.util.Calendar expiryTime)
Creates a new Password Credential object with passed values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the description of the credential |
java.util.Calendar |
getExpiryTime()
Returns the expiration time if credential is created with expiration time. |
java.lang.String |
getName()
Returns the name of the user |
char[] |
getPassword()
Returns the password of the user |
void |
readExternal(ObjectInput in)
|
void |
setDescription(java.lang.String description)
Sets the description of the credential |
void |
setExpiryTime(java.util.Calendar expiryTime)
Sets the expiration time for this credential. |
void |
setName(java.lang.String sUserName)
Sets the name of the user |
void |
setPassword(java.lang.String sPwd)
Sets the password of the user |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Class CLASS_INSTANCE
| Constructor Detail |
|---|
public PasswordCredentialImpl()
throws CredentialInvalidException,
CredStoreException
CredStoreException - if any error happens.
CredentialInvalidException
public PasswordCredentialImpl(java.lang.String name,
char[] password,
java.lang.String description,
java.util.Calendar expiryTime)
throws CredentialInvalidException,
CredStoreException
CredStoreException - if any error happens.
CredentialInvalidException| Method Detail |
|---|
public java.lang.String getName()
getName in interface PasswordCredentialpublic void setName(java.lang.String sUserName)
public char[] getPassword()
getPassword in interface PasswordCredentialpublic void setPassword(java.lang.String sPwd)
public java.lang.String getDescription()
getDescription in interface Credentialpublic void setDescription(java.lang.String description)
setDescription in interface Credentialpublic java.util.Calendar getExpiryTime()
getExpiryTime in interface PasswordCredential
public void setExpiryTime(java.util.Calendar expiryTime)
throws CredStoreRuntimeException
setExpiryTime in interface PasswordCredentialexpiryTime - - Expiry time of this credential. Must be non-null and
after current time.
CredStoreRuntimeException - if invalid value is provided
public void writeExternal(ObjectOutput out)
throws java.io.IOException
writeExternal in interface Externalizablejava.io.IOException
public void readExternal(ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||