Class EncryptionSettingsImpl
- java.lang.Object
-
- com.atlassian.confluence.impl.user.crowd.EncryptionSettingsImpl
-
- All Implemented Interfaces:
com.atlassian.crowd.manager.property.EncryptionSettings
public class EncryptionSettingsImpl extends Object implements com.atlassian.crowd.manager.property.EncryptionSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEYS_SUB_DIRECTORY
-
Constructor Summary
Constructors Constructor Description EncryptionSettingsImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.util.concurrent.Supplier<com.atlassian.bandana.BandanaManager> bandanaManagerSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getDefaultEncryptor()
Optional<String>
getEncryptionKeyPath(String encryptor)
String
getKeyFilesDirectoryPath()
void
setDefaultEncryptor(String encryptor)
void
setEncryptionKeyPath(String encryptor, String keyPath)
-
-
-
Field Detail
-
KEYS_SUB_DIRECTORY
public static final String KEYS_SUB_DIRECTORY
-
-
Method Detail
-
getDefaultEncryptor
public Optional<String> getDefaultEncryptor()
- Specified by:
getDefaultEncryptor
in interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
setDefaultEncryptor
public void setDefaultEncryptor(String encryptor)
- Specified by:
setDefaultEncryptor
in interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
setEncryptionKeyPath
public void setEncryptionKeyPath(String encryptor, String keyPath)
- Specified by:
setEncryptionKeyPath
in interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
getEncryptionKeyPath
public Optional<String> getEncryptionKeyPath(String encryptor)
- Specified by:
getEncryptionKeyPath
in interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
getKeyFilesDirectoryPath
public String getKeyFilesDirectoryPath()
- Specified by:
getKeyFilesDirectoryPath
in interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
-