Interface AuthenticationConfiguration
-
@Unstable @Role public interface AuthenticationConfigurationConfiguration of the authentication properties.- Since:
- 13.1RC1
- Version:
- $Id: 83593f5f631ddc55598305e430a1a6570e6112b2 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String[]getFailureStrategies()intgetMaxAuthorizedAttempts()intgetTimeWindow()default booleanisAuthenticationSecurityEnabled()
-
-
-
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
AuthenticationFailureStrategyto activate, each name is a strategy hint.
-
isAuthenticationSecurityEnabled
default boolean isAuthenticationSecurityEnabled()
- Returns:
trueif the authentication security mechanism is enabled.- Since:
- 11.10
-
-