hashEncoding: The econding used to store hashed passwords.
Supported values are HEX, BASE64.
ignorePasswordCase: If true, password case will be igonred. This property is ignored if a hashAlgorithm was specified.
Default to false.
ignoreUserCase: If ture, username case will be ignored.
credential-store: The credential store configured for this authenticator.
Check specific stores for specific configuraiton options
credential-store-key-adapter: The credential store key adapter configured for this authenticator.
Check specific stores for specific configuraiton options
Sample authenticator configuration for basic authentication (username/password) :
<authentication-scheme>
<class>org.josso.auth.scheme.UsernamePasswordAuthScheme</class>
<hashAlgorithm>MD5</hashAlgorithm>
<hashEncoding>HEX</hashEncoding>
<ignorePasswordCase>false</ignorePasswordCase>
<ignoreUserCase>false</ignoreUserCase>
<!-- Configure the propper store here -->
<credential-store>
...
</credential-store>
<credential-store-key-adapter>
...
</credential-store-key-adapter>
</authentication-scheme>
This method allows password hashing.
In order to work, you need to specify hashAlgorithm and hashEncoding properties.
You can optionally set hashCharset property.
the hashed password.