|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14651-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.jps.mas.mgmt.jmx.credstore.PortableCredentialMap
public class PortableCredentialMap
Class which helps makes a portable Password Credential.
| Constructor Summary | |
|---|---|
PortableCredentialMap() |
|
PortableCredentialMap(java.util.Map<java.lang.String,PortableCredential> mapCredentials) |
|
| Method Summary | |
|---|---|
void |
clear()Deletes all the entries from the map. |
boolean |
containsKey(java.lang.String key)Returns true if this map contains a mapping for the specified key. |
void |
deletePortableCredential(java.lang.String key)Removes the Credential objects associated with the specified key. |
static PortableCredentialMap |
from(javax.management.openmbean.CompositeData cd)Create an instance of the model specific class out of an associated CompositeData instance. |
PortableCredential |
getPortableCredential(java.lang.String key)Returns the Credential object associated with the specified key. |
boolean |
isEmpty()Check if this portable credential map is empty |
java.util.Set<java.lang.String> |
keySet()Returns the Set instance. |
void |
resetPortableCredential(java.lang.String key, PortableCredential credential)Override the Credential object to the specified key. |
void |
setPortableCredential(java.lang.String key, PortableCredential credential)Assigns the PortableCredential object to the specified key. |
int |
size()Returns the number of mappings in this map. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortableCredentialMap()
@ConstructorProperties(value="credentials")
public PortableCredentialMap(java.util.Map<java.lang.String,PortableCredential> mapCredentials)
| Method Detail |
|---|
public java.util.Set<java.lang.String> keySet()
Set instance.public boolean isEmpty()
public boolean containsKey(java.lang.String key)
true if this map contains a mapping for the specified key.key - The credential keypublic int size()
public PortableCredential getPortableCredential(java.lang.String key)
Credential object associated with the specified key. It returns null if there is no such credential.key - The credential key name
public void setPortableCredential(java.lang.String key,
PortableCredential credential)
PortableCredential object to the specified key.key - The key of the credentialcredential - The credential
public void resetPortableCredential(java.lang.String key,
PortableCredential credential)
Credential object to the specified key.key - The key of the credentialcredential - The credentialpublic void deletePortableCredential(java.lang.String key)
Credential objects associated with the specified key.key - The credential keypublic void clear()
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct - - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static PortableCredentialMap from(javax.management.openmbean.CompositeData cd)
cd - Composite Data which has information regarding the object
|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14651-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||