Class DbConfigPasswordCipherEncryptor

java.lang.Object
com.atlassian.crowd.crypto.DbConfigPasswordCipherEncryptor
All Implemented Interfaces:
com.atlassian.crowd.embedded.api.Encryptor

public class DbConfigPasswordCipherEncryptor extends Object implements com.atlassian.crowd.embedded.api.Encryptor
  • Constructor Details

    • DbConfigPasswordCipherEncryptor

      public DbConfigPasswordCipherEncryptor(String algorithm, String algorithmKey, EncryptionSettings encryptionSettings, com.atlassian.db.config.password.CipherProvider cipherProvider)
  • Method Details

    • encrypt

      public String encrypt(String password)
      Specified by:
      encrypt in interface com.atlassian.crowd.embedded.api.Encryptor
    • decrypt

      public String decrypt(String encryptedPassword)
      Specified by:
      decrypt in interface com.atlassian.crowd.embedded.api.Encryptor
    • changeEncryptionKey

      public boolean changeEncryptionKey()
      Specified by:
      changeEncryptionKey in interface com.atlassian.crowd.embedded.api.Encryptor