Package com.atlassian.secrets.service
Class DefaultSecretService
java.lang.Object
com.atlassian.secrets.service.DefaultSecretService
- All Implemented Interfaces:
SecretService
The default
SecretService which supports multiple routing between
multiple SecretServiceBackend objects based on the secret identifier.-
Field Summary
Fields inherited from interface com.atlassian.secrets.api.SecretService
SECRET_SERVICE_STATE_SYSTEM_PROP -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSecretService(SecretDao secretDao, Map<String, SecretServiceBackend> backends, String defaultBackendId) -
Method Summary
-
Constructor Details
-
DefaultSecretService
public DefaultSecretService(SecretDao secretDao, Map<String, SecretServiceBackend> backends, String defaultBackendId)
-
-
Method Details
-
put
- Specified by:
putin interfaceSecretService- Throws:
SecretServiceException
-
get
- Specified by:
getin interfaceSecretService- Throws:
SecretServiceException
-
delete
- Specified by:
deletein interfaceSecretService- Throws:
SecretServiceException
-
getConfiguration
- Specified by:
getConfigurationin interfaceSecretService
-
migrate
- Throws:
SecretServiceException
-
getBackendIds
-