public interface CredentialStorage2 extends CredentialStorage
Modifier and Type | Method and Description |
---|---|
Credential |
fetchCredential(java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey)
Internal: Applications should not use this method.
Retrieves the 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 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 current user.
|
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 credential idebtifier.
|
void |
storeCredential(Credential cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey)
Internal: Applications should not use this method.
Store the credential using the specify credential key.
|
fetchCredential, fetchSerializableCredential, fetchSerializableCredentialForCurrentUser, initialize, removeCredential, storeCredential
void storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
cred
- the crdential to be storedmapName
- the map nameadfCredKey
- ADF cred keycredKey
- the credential keyCredential fetchCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
mapName
- the map nameadfCredKey
- ADF cred keycredKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given keyjava.io.Serializable fetchSerializableCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keymapName
- the map nameadfCredKey
- ADF cred keyCredentialNotFoundException
- if the credential does not exist for
the given keyjava.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
mapName
- the map nameadfCredKey
- ADF cred keycredKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given keyvoid removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey) throws CredentialNotFoundException
mapName
- the map nameadfCredKey
- ADF cred keycredKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given key