Interface AuthenticationConfiguration


  • @Role
    public interface AuthenticationConfiguration
    Configuration of the authentication properties.
    Since:
    13.1RC1
    Version:
    $Id: f3b3364e0979f38590d8995747f0bb97116ee8a9 $
    • 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.
      • isAuthenticationSecurityEnabled

        default boolean isAuthenticationSecurityEnabled()
        Returns:
        true if 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