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 StringKEYS_SUB_DIRECTORY
-
Constructor Summary
Constructors Constructor Description EncryptionSettingsImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties, 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)StringgetKeyFilesDirectoryPath()voidsetDefaultEncryptor(String encryptor)voidsetEncryptionKeyPath(String encryptor, String keyPath)
-
-
-
Field Detail
-
KEYS_SUB_DIRECTORY
public static final String KEYS_SUB_DIRECTORY
-
-
Constructor Detail
-
EncryptionSettingsImpl
public EncryptionSettingsImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties, Supplier<com.atlassian.bandana.BandanaManager> bandanaManagerSupplier)
-
-
Method Detail
-
getDefaultEncryptor
public Optional<String> getDefaultEncryptor()
- Specified by:
getDefaultEncryptorin interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
setDefaultEncryptor
public void setDefaultEncryptor(String encryptor)
- Specified by:
setDefaultEncryptorin interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
setEncryptionKeyPath
public void setEncryptionKeyPath(String encryptor, String keyPath)
- Specified by:
setEncryptionKeyPathin interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
getEncryptionKeyPath
public Optional<String> getEncryptionKeyPath(String encryptor)
- Specified by:
getEncryptionKeyPathin interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
getKeyFilesDirectoryPath
public String getKeyFilesDirectoryPath()
- Specified by:
getKeyFilesDirectoryPathin interfacecom.atlassian.crowd.manager.property.EncryptionSettings
-
-