public interface CredentialStore
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCredentailsStore()
Delete the underlying credentialStore.
|
void |
deleteCredentials(List<String> aliasList)
Delete a list of credentials from the underlying credentialStore.
|
Credential |
getCredential(String alias)
Return the credential from the wallet store with the provided alias
|
Credentials |
loadCredentials()
Retrieve a list of credentials from underlying credentialStore.
|
void |
storeCredentials(Credentials credentials)
Storing a list of credentials to the underlying credentialStore.
|
void deleteCredentailsStore()
throws FMWCredentialsException
FMWCredentialsException - an error occurred when deleting the credentialStore.void deleteCredentials(List<String> aliasList) throws FMWCredentialsException
aliasList - a list of credential alias that need to be deleted.FMWCredentialsException - an error occurred when deleting credentials from the credentialStore.Credentials loadCredentials() throws FMWCredentialsException
FMWCredentialsException - an error occurred when retrieving credentials from the credentialStore.Credential getCredential(String alias) throws FMWCredentialsException
alias - of the credential in the wallet store. If alias is null, will return a null credentialFMWCredentialsException - if there was a problem accessing the wallet storevoid storeCredentials(Credentials credentials) throws FMWCredentialsException
credentials - a list of credentials that need to be persistedFMWCredentialsException - an error occurred when storing credentials to the credentialStore.