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 StringBCRYPTbooleanenabledIf the bcrypt-password-mapper is enabled.org.wildfly.security.password.spec.EncodinghashEncodingA string referencing the password hash encoding ("BASE64" or "HEX")intiterationCountIndexThe index (1 based numbering) of the column containing the Bcrypt iteration countintpasswordIndexThe index (1 based numbering) of the column containing the password hashorg.wildfly.security.password.spec.EncodingsaltEncodingA string referencing the salt encoding ("BASE64" or "HEX")intsaltIndexThe 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.PasswordKeyMappertoPasswordKeyMapper()StringtoString()
-
-
-
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:
toPasswordKeyMapperin interfacePasswordKeyMapperConfig
-
-