Package com.soffid.iam.sync.service
Interface SecretStoreService
-
public interface SecretStoreServiceService SecretStoreService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Account>getAccountsWithPassword()Operation getAccountsWithPasswordList<Secret>getAllSecrets(User user)Operation getAllSecretsPasswordgetPassword(long accountId)Operation getPasswordPasswordgetSecret(User user, String secret)Operation getSecretList<Secret>getSecrets(User user)Operation getSecretsPasswordgetSshPrivateKey(long accountId)Operation getSshPrivateKeyCollection<User>getUsersWithSecrets()Operation getUsersWithSecretsvoidputSecret(User user, String secret, Password value)Operation putSecretvoidreencode(User user)Operation 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 Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPassword
Password getPassword(long accountId) throws InternalErrorException, InternalErrorException
Operation getPassword- Parameters:
accountId-- Returns:
- Throws:
InternalErrorException
-
getSecret
Password getSecret(User user, String secret) throws InternalErrorException, InternalErrorException
Operation getSecret- Parameters:
user-secret-- Returns:
- Throws:
InternalErrorException
-
getSshPrivateKey
Password getSshPrivateKey(long accountId) throws InternalErrorException, InternalErrorException
Operation getSshPrivateKey- Parameters:
accountId-- Returns:
- Throws:
InternalErrorException
-
getAccountsWithPassword
Collection<Account> getAccountsWithPassword() throws InternalErrorException, InternalErrorException
Operation getAccountsWithPassword- Returns:
- Throws:
InternalErrorException
-
getUsersWithSecrets
Collection<User> getUsersWithSecrets() throws InternalErrorException, InternalErrorException
Operation getUsersWithSecrets- Returns:
- Throws:
InternalErrorException
-
getAllSecrets
List<Secret> getAllSecrets(User user) throws InternalErrorException, InternalErrorException
Operation getAllSecrets- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
getSecrets
List<Secret> getSecrets(User user) throws InternalErrorException, InternalErrorException
Operation getSecrets- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
putSecret
void putSecret(User user, String secret, Password value) throws InternalErrorException, InternalErrorException
Operation putSecret- Parameters:
user-secret-value-- Throws:
InternalErrorException
-
reencode
void reencode(User user) throws InternalErrorException, InternalErrorException
Operation reencode- Parameters:
user-- Throws:
InternalErrorException
-
removeSecret
void removeSecret(User user, String secret) throws InternalErrorException, InternalErrorException
Operation removeSecret- Parameters:
user-secret-- Throws:
InternalErrorException
-
setPassword
void setPassword(User user, String passwordDomain, Password password) throws InternalErrorException, InternalErrorException
Operation setPassword- Parameters:
user-passwordDomain-password-- Throws:
InternalErrorException
-
setPassword
void setPassword(long accountId, Password value) throws InternalErrorException, InternalErrorExceptionOperation setPassword- Parameters:
accountId-value-- Throws:
InternalErrorException
-
setPasswordAndUpdateAccount
void setPasswordAndUpdateAccount(long accountId, Password value, boolean mustChange, Date expirationDate) throws InternalErrorException, InternalErrorExceptionOperation setPasswordAndUpdateAccount- Parameters:
accountId-value-mustChange-expirationDate-- Throws:
InternalErrorException
-
setSshPrivateKey
void setSshPrivateKey(long accountId, Password privateKey) throws InternalErrorException, InternalErrorExceptionOperation setSshPrivateKey- Parameters:
accountId-privateKey-- Throws:
InternalErrorException
-
-