public class CredentialProvisioner
extends java.lang.Object
Constructor and Description |
---|
CredentialProvisioner()
Internal: Applications should not use this method.
Constructor for a credential provisioner.
|
CredentialProvisioner(java.lang.String contextName)
Internal: Applications should not use this method.
Constructor for a credential provisioner of a specific provider class.
|
Modifier and Type | Method and Description |
---|---|
void |
removeCredential(java.lang.String credKey,
java.security.Principal principal)
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,
java.security.Principal principal)
Internal: Applications should not use this method.
Removes the credential specified by the credential key.
|
void |
storeCredential(Credential cred,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method.
Store the credential for the specified credential key and principal.
|
void |
storeCredential(Credential cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method.
Store the credential for the specified credential key and principal.
|
void |
storeSerializableCredential(java.io.Serializable cred,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method.
Store the credential for the specified credential key and principal.
|
void |
storeSerializableCredential(java.io.Serializable cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method.
Store the credential for the specified credential key and principal.
|
public CredentialProvisioner()
public CredentialProvisioner(java.lang.String contextName)
contextName
- public void storeCredential(Credential cred, java.lang.String credKey, java.security.Principal principal)
cred
- the credentialcredKey
- the credential keyprincipal
- the user or role principalpublic void storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey, java.security.Principal principal)
cred
- the credentialmapName
- the ADF cred map nameadfCredKey
- the ADF cred key valuecredKey
- the credential keyprincipal
- the user or role principalpublic void storeSerializableCredential(java.io.Serializable cred, java.lang.String credKey, java.security.Principal principal)
cred
- the serializable credentialcredKey
- the credential keyprincipal
- the user or role principalpublic void storeSerializableCredential(java.io.Serializable cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey, java.security.Principal principal)
cred
- the serializable credentialmapName
- the ADF cred map nameadfCredKey
- the ADF cred key valuecredKey
- the credential keyprincipal
- the user or role principalpublic void removeCredential(java.lang.String credKey, java.security.Principal principal) throws CredentialNotFoundException
credKey
- the credential keyprincipal
- the user or role principalCredentialNotFoundException
- when the credential for the key cannot
be foundpublic void removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey, java.security.Principal principal) throws CredentialNotFoundException
mapName
- the ADF cred map nameadfCredKey
- the ADF cred key valuecredKey
- the credential keyprincipal
- the user or role principalCredentialNotFoundException
- when the credential for the key cannot
be found