Interface BcryptPasswordKeyMapperConfig


public interface BcryptPasswordKeyMapperConfig
Configuration information used to populate a "bcrypt" PasswordKeyMapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If the bcrypt-password-mapper is enabled.
    org.wildfly.security.password.spec.Encoding
    A string referencing the password hash encoding ("BASE64" or "HEX")
    int
    The index (1 based numbering) of the column containing the Bcrypt iteration count.
    int
    The index (1 based numbering) of the column containing the password hash
    org.wildfly.security.password.spec.Encoding
    A string referencing the salt encoding ("BASE64" or "HEX")
    int
    The index (1 based numbering) of the column containing the Bcrypt salt.
    default org.wildfly.security.auth.realm.jdbc.mapper.PasswordKeyMapper
     
     
  • Field Details

  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      If the bcrypt-password-mapper is enabled.
    • passwordIndex

      @WithDefault("0") int passwordIndex()
      The index (1 based numbering) of the column containing the password hash
    • hashEncoding

      @WithDefault("BASE64") org.wildfly.security.password.spec.Encoding hashEncoding()
      A string referencing the password hash encoding ("BASE64" or "HEX")
    • saltIndex

      @WithDefault("-1") int saltIndex()
      The index (1 based numbering) of the column containing the Bcrypt salt. The default value of `-1` implies that the salt is stored in the password column using the Modular Crypt Format (MCF) standard.
    • saltEncoding

      @WithDefault("BASE64") org.wildfly.security.password.spec.Encoding saltEncoding()
      A string referencing the salt encoding ("BASE64" or "HEX")
    • iterationCountIndex

      @WithDefault("-1") int iterationCountIndex()
      The index (1 based numbering) of the column containing the Bcrypt iteration count. The default value of `-1` implies that the iteration count is stored in the password column using the Modular Crypt Format (MCF) standard.
    • toPasswordKeyMapper

      default org.wildfly.security.auth.realm.jdbc.mapper.PasswordKeyMapper toPasswordKeyMapper()
    • toString

      String toString()
      Overrides:
      toString in class Object