Interface AuthenticationConfiguration
-
@Role public interface AuthenticationConfigurationConfiguration of the authentication properties.- Since:
- 13.1RC1
- Version:
- $Id: f3b3364e0979f38590d8995747f0bb97116ee8a9 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<String>getCookieDomains()default StringgetEncryptionKey()Get from the configuration of generate Encryption Key used to create a secret key used to encrypt/decrypt value for the cookies.String[]getFailureStrategies()intgetMaxAuthorizedAttempts()intgetTimeWindow()default StringgetValidationKey()Get from the configuration or generate a Validation Key used to generate hash values for the the cookies.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
-
getCookieDomains
@Unstable default List<String> getCookieDomains()
- Returns:
- the list of cookie domains to use for the authentication cookies. Domains are prefix with a dot.
- Since:
- 14.10.15, 15.5.1, 15.6
-
getValidationKey
default String getValidationKey()
Get from the configuration or generate a Validation Key used to generate hash values for the the cookies.- Returns:
- the Validation Key
- Since:
- 15.9, 15.5.4, 14.10.19
-
getEncryptionKey
default String getEncryptionKey()
Get from the configuration of generate Encryption Key used to create a secret key used to encrypt/decrypt value for the cookies.- Returns:
- the Encryption Key
- Since:
- 15.9, 15.5.4, 14.10.19
-
-