Package io.quarkus.elytron.security.jdbc
Class BcryptPasswordKeyMapperConfig
- java.lang.Object
-
- io.quarkus.elytron.security.jdbc.BcryptPasswordKeyMapperConfig
-
- All Implemented Interfaces:
PasswordKeyMapperConfig
public class BcryptPasswordKeyMapperConfig extends Object implements PasswordKeyMapperConfig
Configuration information used to populate a "bcrypt" PasswordKeyMapper
-
-
Field Summary
Fields Modifier and Type Field Description static String
BCRYPT
boolean
enabled
If the bcrypt-password-mapper is enabled.org.wildfly.security.password.spec.Encoding
hashEncoding
A string referencing the password hash encoding ("BASE64" or "HEX")int
iterationCountIndex
The index (1 based numbering) of the column containing the Bcrypt iteration countint
passwordIndex
The index (1 based numbering) of the column containing the password hashorg.wildfly.security.password.spec.Encoding
saltEncoding
A string referencing the salt encoding ("BASE64" or "HEX")int
saltIndex
The index (1 based numbering) of the column containing the Bcrypt salt
-
Constructor Summary
Constructors Constructor Description BcryptPasswordKeyMapperConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.wildfly.security.auth.realm.jdbc.mapper.PasswordKeyMapper
toPasswordKeyMapper()
String
toString()
-
-
-
Field Detail
-
BCRYPT
public static final String BCRYPT
- See Also:
- Constant Field Values
-
enabled
@ConfigItem public boolean enabled
If the bcrypt-password-mapper is enabled.
-
passwordIndex
@ConfigItem public int passwordIndex
The index (1 based numbering) of the column containing the password hash
-
hashEncoding
@ConfigItem(defaultValue="BASE64") public org.wildfly.security.password.spec.Encoding hashEncoding
A string referencing the password hash encoding ("BASE64" or "HEX")
-
saltIndex
@ConfigItem public int saltIndex
The index (1 based numbering) of the column containing the Bcrypt salt
-
saltEncoding
@ConfigItem(defaultValue="BASE64") public org.wildfly.security.password.spec.Encoding saltEncoding
A string referencing the salt encoding ("BASE64" or "HEX")
-
iterationCountIndex
@ConfigItem public int iterationCountIndex
The index (1 based numbering) of the column containing the Bcrypt iteration count
-
-
Method Detail
-
toPasswordKeyMapper
public org.wildfly.security.auth.realm.jdbc.mapper.PasswordKeyMapper toPasswordKeyMapper()
- Specified by:
toPasswordKeyMapper
in interfacePasswordKeyMapperConfig
-
-