|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialVault
Interface for a Credential Vault Credential vaults allow for the storage and retrieval of credentials by credential id. They can also be loaded and saved if they are backed by a persisted storage location.
Method Summary | |
---|---|
String[] |
getStoredIds()
Returns the ids for stored credentials |
boolean |
hasCredentials(String endpointId)
|
boolean |
load()
Tells the Credential Vault to load state from persisted store |
Credentials |
newCredentials(String endpointId)
Creates new credentials which are stored in this vault |
void |
remove(String endpointId)
Removes credentials for a given endpoint id from the vault |
Credentials |
retrieve(String endpointId)
Retrieves credentials for a given endpoint id from the vault |
boolean |
save()
Tells the Credential Vault to write state to persisted store |
void |
store(Credentials credentials)
Places the given credentials into the vault |
Method Detail |
---|
void store(Credentials credentials)
credentials
- the credentialsCredentials retrieve(String endpointId)
endpointId
- the endpoint id
void remove(String endpointId)
endpointId
- boolean hasCredentials(String endpointId)
Credentials newCredentials(String endpointId)
endpointId
-
String[] getStoredIds()
boolean load()
boolean save()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |