public interface CredentialStorage
Modifier and Type | Method and Description |
---|---|
Credential |
fetchCredential(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 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 current user.
|
void |
initialize(java.util.Hashtable props)
Internal: Applications should not use this method.
Initializes the credentialstore from the properties.
|
void |
removeCredential(java.lang.String credKey)
Internal: Applications should not use this method.
Removes the credential specified credential idebtifier.
|
void |
storeCredential(Credential cred,
java.lang.String credKey)
Internal: Applications should not use this method.
Store the credential using the specify credential key.
|
void initialize(java.util.Hashtable props)
props
- the properties to initialize withvoid storeCredential(Credential cred, java.lang.String credKey)
cred
- the crdential to be storedcredKey
- the credential keyCredential fetchCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given keyjava.io.Serializable fetchSerializableCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given keyjava.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given keyvoid removeCredential(java.lang.String credKey) throws CredentialNotFoundException
credKey
- the credential keyCredentialNotFoundException
- if the credential does not exist for
the given key