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 Details

    • KEYS_SUB_DIRECTORY

      public static final String KEYS_SUB_DIRECTORY
  • Constructor Details

    • EncryptionSettingsImpl

      public EncryptionSettingsImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties, Supplier<BandanaManager> bandanaManagerSupplier)
  • Method Details

    • getDefaultEncryptor

      public Optional<String> getDefaultEncryptor()
      Specified by:
      getDefaultEncryptor in interface com.atlassian.crowd.manager.property.EncryptionSettings
    • setDefaultEncryptor

      public void setDefaultEncryptor(String encryptor)
      Specified by:
      setDefaultEncryptor in interface com.atlassian.crowd.manager.property.EncryptionSettings
    • setEncryptionKeyPath

      public void setEncryptionKeyPath(String encryptor, String keyPath)
      Specified by:
      setEncryptionKeyPath in interface com.atlassian.crowd.manager.property.EncryptionSettings
    • getEncryptionKeyPath

      public Optional<String> getEncryptionKeyPath(String encryptor)
      Specified by:
      getEncryptionKeyPath in interface com.atlassian.crowd.manager.property.EncryptionSettings
    • getKeyFilesDirectoryPath

      public String getKeyFilesDirectoryPath()
      Specified by:
      getKeyFilesDirectoryPath in interface com.atlassian.crowd.manager.property.EncryptionSettings