Interface SystemAuthenticationHandlerConfig
- All Superinterfaces:
AuthenticationHandlerConfig
- All Known Implementing Classes:
SystemAuthenticationHandlerConfigImpl
The system authentication handler.
A single SystemAuthenticationHandlerConfig
may be registered to
indicate delegation to configured authentication.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the hash scheme used to store newly created passwords.
-
Method Details
-
getHashScheme
String getHashScheme()Returns the hash scheme used to store newly created passwords.More complex algorithms generate password hashes that are more expensive for an attacker to crack by brute force, but require more CPU for each authentication operation.
The following schemes are supported:
- "NONE";
- "DESEDE";
- "PBKDF-SHA1-N", where N is the number of iterations;
- "PBKDF-SHA256-N", where N is the number of iterations.
The default scheme is PBKDF-SHA256-1000. The configured scheme must be supported by the JVM or the server will not start. All of the above schemes are supported by the standard Java 8 JDK.
- Since:
- 6.0
-