Class ProtectorConfiguration

java.lang.Object
com.evolveum.midpoint.init.ProtectorConfiguration

public class ProtectorConfiguration extends Object
Author:
lazyman
  • Constructor Details

    • ProtectorConfiguration

      public ProtectorConfiguration(org.apache.commons.configuration2.Configuration configuration)
  • Method Details

    • getEncryptionKeyAlias

      public String getEncryptionKeyAlias()
    • setEncryptionKeyAlias

      public void setEncryptionKeyAlias(String encryptionKeyAlias)
    • getKeyStorePassword

      public String getKeyStorePassword()
    • setKeyStorePassword

      public void setKeyStorePassword(String keyStorePassword)
    • getKeyStorePath

      public String getKeyStorePath()
    • setKeyStorePath

      public void setKeyStorePath(String keyStorePath)
    • getXmlCipher

      public String getXmlCipher()
    • setXmlCipher

      public void setXmlCipher(String xmlCipher)
    • getFixedSalt

      public String getFixedSalt()
      Returns fixed salt value, used for all salt-hashed values. WARNING: USE OF FIXED SALT IS DANGEROUS. Fixed salt makes all the salting ineffective. DO NOT USE unless you really know what you are doing, and if you want to sacrifice security for convenience. Fixed salt was implemented to allow new scenarios when using hashed password storage. E.g. with fixed salt passive-cached credentials in ShadowTypes can be compared to password history in UserType as hashes for same password values are equivalent. New config.xml option keystore/fixedSalt need to be set to any arbitrary value and is used globally as single fixed salt for all hashed values in midPoint.
    • setFixedSalt

      public void setFixedSalt(String fixedSalt)
      Sets the fixed salt value, used for all salt-hashed values. WARNING: USE OF FIXED SALT IS DANGEROUS. Fixed salt makes all the salting ineffective. DO NOT USE unless you really know what you are doing, and if you want to sacrifice security for convenience. Fixed salt was implemented to allow new scenarios when using hashed password storage. E.g. with fixed salt passive-cached credentials in ShadowTypes can be compared to password history in UserType as hashes for same password values are equivalent. New config.xml option keystore/fixedSalt need to be set to any arbitrary value and is used globally as single fixed salt for all hashed values in midPoint.