Package com.soffid.iam.sync.service
Interface SecretStoreService
public interface SecretStoreService
Service SecretStoreService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionOperation getAccountsWithPasswordgetAllSecrets(User user) Operation getAllSecretsgetPassword(long accountId) Operation getPasswordOperation getSecretgetSecrets(User user) Operation getSecretsgetSshPrivateKey(long accountId) Operation getSshPrivateKeyOperation getUsersWithSecretsvoidOperation putSecretvoidOperation reencodevoidremoveSecret(User user, String secret) Operation removeSecretvoidsetPassword(long accountId, Password value) Operation setPasswordvoidsetPassword(User user, String passwordDomain, Password password) Operation setPasswordvoidsetPasswordAndUpdateAccount(long accountId, Password value, boolean mustChange, Date expirationDate) Operation setPasswordAndUpdateAccountvoidsetSshPrivateKey(long accountId, Password privateKey) Operation setSshPrivateKey
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getPassword
Operation getPassword- Parameters:
accountId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSecret
Operation getSecret- Parameters:
user-secret-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSshPrivateKey
Operation getSshPrivateKey- Parameters:
accountId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAccountsWithPassword
Operation getAccountsWithPassword- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getUsersWithSecrets
Operation getUsersWithSecrets- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAllSecrets
Operation getAllSecrets- Parameters:
user-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSecrets
Operation getSecrets- Parameters:
user-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
putSecret
void putSecret(User user, String secret, Password value) throws InternalErrorException, InternalErrorException Operation putSecret- Parameters:
user-secret-value-- Throws:
InternalErrorExceptionInternalErrorException
-
reencode
Operation reencode- Parameters:
user-- Throws:
InternalErrorExceptionInternalErrorException
-
removeSecret
Operation removeSecret- Parameters:
user-secret-- Throws:
InternalErrorExceptionInternalErrorException
-
setPassword
void setPassword(User user, String passwordDomain, Password password) throws InternalErrorException, InternalErrorException Operation setPassword- Parameters:
user-passwordDomain-password-- Throws:
InternalErrorExceptionInternalErrorException
-
setPassword
void setPassword(long accountId, Password value) throws InternalErrorException, InternalErrorException Operation setPassword- Parameters:
accountId-value-- Throws:
InternalErrorExceptionInternalErrorException
-
setPasswordAndUpdateAccount
void setPasswordAndUpdateAccount(long accountId, Password value, boolean mustChange, Date expirationDate) throws InternalErrorException, InternalErrorException Operation setPasswordAndUpdateAccount- Parameters:
accountId-value-mustChange-expirationDate-- Throws:
InternalErrorExceptionInternalErrorException
-
setSshPrivateKey
void setSshPrivateKey(long accountId, Password privateKey) throws InternalErrorException, InternalErrorException Operation setSshPrivateKey- Parameters:
accountId-privateKey-- Throws:
InternalErrorExceptionInternalErrorException
-