|
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.CredentialMapImpl
public class CredentialMapImpl
| Field Summary | |
|---|---|
static java.lang.Class |
CLASS_INSTANCE
|
| Constructor Summary | |
|---|---|
CredentialMapImpl()
|
|
| Method Summary | |
|---|---|
void |
clear()
Deletes all the entries from the map and store. |
boolean |
containsKey(java.lang.String key)
Returns true if this map contains a mapping for the specified key. |
void |
deleteCredential(java.lang.String key)
Removes the Credential objects associated with the specified key. |
Credential |
getCredential(java.lang.String key)
Returns the Credential object associated with the specified key. |
boolean |
isEmpty()
Check if this credential map is empty. |
Set |
keySet()
Returns the Set instance. |
void |
readExternal(ObjectInput in)
|
void |
resetCredential(java.lang.String key,
Credential credential)
Override the Credential object to the specified key. |
void |
setCredential(java.lang.String key,
Credential credential)
Assigns the Credentialobject to the specified key. |
int |
size()
Returns the number of mappings in this map. |
java.lang.String |
toString()
Returns the map name as string representation of this map. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Class CLASS_INSTANCE
| Constructor Detail |
|---|
public CredentialMapImpl()
| Method Detail |
|---|
public Set keySet()
throws CredStoreException
keySet in interface CredentialMapCredStoreException - If there is an error.
public boolean isEmpty()
throws CredStoreException
isEmpty in interface CredentialMapCredStoreException - If there is an error.
public boolean containsKey(java.lang.String key)
throws CredStoreException
containsKey in interface CredentialMapkey - - The credential key. Must be non-null and length must be greater
than zero.
CredStoreException - If there is an error.
CredStoreRuntimeException - If invalid key (null or empty) is passed
public int size()
throws CredStoreException
size in interface CredentialMapCredStoreException - If there is an error.
public Credential getCredential(java.lang.String key)
throws CredentialExpiredException,
CredStoreException
getCredential in interface CredentialMapkey - The credential key. Must be non-null and length must be greater
than zero.
CredentialExpiredException - If this credential is already expired
CredStoreException - If there is an error.
CredStoreRuntimeException - If invalid key (null or empty) is passed
public void setCredential(java.lang.String key,
Credential credential)
throws CredStoreException,
CredentialAlreadyExistsException,
CredentialInvalidException
setCredential in interface CredentialMapkey - - The credential key. Must be non-null and length must be greater
than zero.credential - - The credential must be non-null
CredStoreException - If there is an error or null credentials are
passed to be set.
CredentialAlreadyExistsException - If this credential already exists
CredentialInvalidException - If the credential value is not valid and
not be stored
CredStoreRuntimeException - If invalid key (null or empty) is passed
public void resetCredential(java.lang.String key,
Credential credential)
throws CredStoreException,
CredentialInvalidException
resetCredential in interface CredentialMapkey - - The credential key. Must be non-null and length must be greater
than zero.credential - - The credential must be non-null
CredStoreException - If there is an error or null credentials are
passed to be set.
CredentialInvalidException - If the credential value is not valid and
not be stored
CredStoreRuntimeException - If invalid key (null or empty) is passed
public void deleteCredential(java.lang.String key)
throws CredStoreException,
CredentialNotFoundException
deleteCredential in interface CredentialMapkey - - The credential key. Must be non-null and length must be greater
than zero.
CredStoreException - If there is an error.
CredentialNotFoundException - If this credential does not exist
CredStoreRuntimeException - If invalid key (null or empty) is passed
public void clear()
throws CredStoreException
clear in interface CredentialMapCredStoreException - If there is an error.public java.lang.String toString()
toString in interface CredentialMaptoString in class java.lang.Object
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 | ||||||||