Interface AuthenticationConfiguration
-
@Role public interface AuthenticationConfiguration
Configuration of the authentication properties.- Since:
- 13.1RC1
- Version:
- $Id: 6eb3e3333a6406033bba703a23b5f1f55d7ef8aa $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String[]
getFailureStrategies()
int
getMaxAuthorizedAttempts()
int
getTimeWindow()
default boolean
isAuthenticationSecurityEnabled()
-
-
-
Method Detail
-
getMaxAuthorizedAttempts
int getMaxAuthorizedAttempts()
- Returns:
- the number of authorized authentication failure before the strategies are activated.
-
getTimeWindow
int getTimeWindow()
- Returns:
- the time window in seconds during which the authentication failures should occur to activate the failure strategy.
-
getFailureStrategies
String[] getFailureStrategies()
- Returns:
- the names of the
AuthenticationFailureStrategy
to activate, each name is a strategy hint.
-
isAuthenticationSecurityEnabled
default boolean isAuthenticationSecurityEnabled()
- Returns:
true
if the authentication security mechanism is enabled.- Since:
- 11.10
-
-