|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.2.0) E17486-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.share.security.credentialstore.CredentialStore
public class CredentialStore
Internal: Applications should not use this class. CredentialStore is the runtime interface to a credential storage for the current user. It delegates fetching, storing and removing of credentials to the underlying storage.
Constructor Summary | |
---|---|
CredentialStore() Internal: Applications should not use this method. Constructor for a credential store. |
|
CredentialStore(java.lang.String contextName) Internal: Applications should not use this method. Constructor for a credential store of a specific provider class. |
Method Summary | |
---|---|
Credential |
fetchCredential(java.lang.String credKey) Internal: Applications should not use this method. Returns the credential for the specified credential key. |
Credential |
fetchCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Returns the credential for the specified credential key. |
java.io.Serializable |
fetchSerializableCredential(java.lang.String credKey) Internal: Applications should not use this method. Returns the serializable credential for the specified credential key. |
java.io.Serializable |
fetchSerializableCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Returns the serializable credential for the specified credential key. |
java.io.Serializable |
fetchSerializableCredentialForCurrentUser(java.lang.String credKey) Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user. |
java.io.Serializable |
fetchSerializableCredentialForCurrentUser(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user. |
Credential |
fetchSessionCredential(java.lang.String credKey) Internal: Applications should not use this method. Returns the session credential for the specifier credential key. |
Credential |
fetchSessionCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Returns the session credential for the specifier credential key. |
void |
removeCredential(java.lang.String credKey) Internal: Applications should not use this method. Removes the credential specified by the credential key. |
void |
removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Removes the credential specified by the credential key. |
void |
storeCredential(Credential cred, java.lang.String credKey) Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key. |
void |
storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key. |
void |
storeSessionCredential(Credential cred, java.lang.String credKey) Internal: Applications should not use this method. Adds or replace a session credential for the given credential key. |
void |
storeSessionCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) Internal: Applications should not use this method. Adds or replace a session credential for the given credential key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialStore()
public CredentialStore(java.lang.String contextName)
context
- nameMethod Detail |
---|
public void storeCredential(Credential cred, java.lang.String credKey)
cred
- the credential valuecredKey
- the credential keypublic void storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
cred
- the credential valuemapName
- the ADF cred map nameadfCredKey
- the ADF cred key valuecredKey
- the credential keypublic void storeSessionCredential(Credential cred, java.lang.String credKey)
cred
- the credential valuecredKey
- the credential keypublic void storeSessionCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
cred
- the credential valuemapName
- the ADF cred map nameadfCredKey
- the ADF cred key valuecredKey
- the credential keypublic Credential fetchSessionCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential key.CredentialNotFoundException
- when the credential for the key cannot be foundpublic Credential fetchSessionCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential key.mapName
- the ADF cred map nameadfCredKey
- the ADF cred key valueCredentialNotFoundException
- when the credential for the key cannot be foundpublic Credential fetchCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- when the credential for the key cannot be foundpublic Credential fetchCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keymapName
- the ADF cred map nameadfCredKey
- the ADF cred key valueCredentialNotFoundException
- when the credential for the key cannot be foundpublic java.io.Serializable fetchSerializableCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- when the credential for the key cannot be foundpublic java.io.Serializable fetchSerializableCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keymapName
- the ADF cred map nameadfCredKey
- the ADF cred key valueCredentialNotFoundException
- when the credential for the key cannot be foundpublic java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- when the credential for the key cannot be foundpublic java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keymapName
- the ADF cred map nameadfCredKey
- the ADF cred key valueCredentialNotFoundException
- when the credential for the key cannot be foundpublic void removeCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- when the credential for the key cannot be foundpublic void removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keymapName
- the ADF cred map nameadfCredKey
- the ADF cred key valueCredentialNotFoundException
- when the credential for the key cannot be found
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.2.0) E17486-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |