Package com.soffid.iam.sync.service
Interface SecretStoreService
-
public interface SecretStoreService
Service SecretStoreService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Account>
getAccountsWithPassword()
Operation getAccountsWithPasswordList<Secret>
getAllSecrets(User user)
Operation getAllSecretsPassword
getPassword(long accountId)
Operation getPasswordPassword
getSecret(User user, String secret)
Operation getSecretList<Secret>
getSecrets(User user)
Operation getSecretsPassword
getSshPrivateKey(long accountId)
Operation getSshPrivateKeyCollection<User>
getUsersWithSecrets()
Operation getUsersWithSecretsvoid
putSecret(User user, String secret, Password value)
Operation putSecretvoid
reencode(User user)
Operation reencodevoid
removeSecret(User user, String secret)
Operation removeSecretvoid
setPassword(long accountId, Password value)
Operation setPasswordvoid
setPassword(User user, String passwordDomain, Password password)
Operation setPasswordvoid
setPasswordAndUpdateAccount(long accountId, Password value, boolean mustChange, Date expirationDate)
Operation setPasswordAndUpdateAccountvoid
setSshPrivateKey(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, InternalErrorException
Operation setPassword- Parameters:
accountId
-value
-- Throws:
InternalErrorException
-
setPasswordAndUpdateAccount
void setPasswordAndUpdateAccount(long accountId, Password value, boolean mustChange, Date expirationDate) throws InternalErrorException, InternalErrorException
Operation setPasswordAndUpdateAccount- Parameters:
accountId
-value
-mustChange
-expirationDate
-- Throws:
InternalErrorException
-
setSshPrivateKey
void setSshPrivateKey(long accountId, Password privateKey) throws InternalErrorException, InternalErrorException
Operation setSshPrivateKey- Parameters:
accountId
-privateKey
-- Throws:
InternalErrorException
-
-