Class EncryptionSettingsImpl

  • All Implemented Interfaces:
    com.atlassian.crowd.manager.property.EncryptionSettings

    public class EncryptionSettingsImpl
    extends Object
    implements com.atlassian.crowd.manager.property.EncryptionSettings
    • Field Detail

      • KEYS_SUB_DIRECTORY

        public static final String KEYS_SUB_DIRECTORY
    • Constructor Detail

      • EncryptionSettingsImpl

        public EncryptionSettingsImpl​(com.atlassian.sal.api.ApplicationProperties applicationProperties,
                                      com.atlassian.util.concurrent.Supplier<com.atlassian.bandana.BandanaManager> bandanaManagerSupplier)
    • Method Detail

      • 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