public interface CredentialsRepo
| Modifier and Type | Method and Description |
|---|---|
AccountCredentials |
getAccountCredentials(String account)
Returns a list of storage provider associated with an account
|
List<String> |
getActiveAccounts()
Returns a list of accounts
|
StorageProviderCredentials |
getStorageProviderCredentials(String account,
String storeId)
Returns a set of credentials associated with an account.
|
boolean |
isAccountActive(String account)
Returns true if the account is active.
|
StorageProviderCredentials getStorageProviderCredentials(String account, String storeId) throws CredentialsRepoException
account - The id of the DuraCloud account - maps directly to the subdomain.storeId - The storage provider idCredentialsRepoExceptionList<String> getActiveAccounts() throws CredentialsRepoException
CredentialsRepoExceptionAccountCredentials getAccountCredentials(String account) throws AccountCredentialsNotFoundException
account - CredentialsRepoExceptionAccountCredentialsNotFoundExceptionboolean isAccountActive(String account) throws AccountCredentialsNotFoundException
account - AccountCredentialsNotFoundException - if no account found.Copyright © 2013–2019 DuraSpace. All rights reserved.