Class LogoutControllerConfigurationProperties

    • Field Detail

      • DEFAULT_ENABLED

        public static final boolean DEFAULT_ENABLED
        The default enable value.
        See Also:
        Constant Field Values
      • DEFAULT_PATH

        public static final java.lang.String DEFAULT_PATH
        The default path.
        See Also:
        Constant Field Values
      • DEFAULT_GETALLOWED

        public static final boolean DEFAULT_GETALLOWED
        Default Get Allowed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LogoutControllerConfigurationProperties

        public LogoutControllerConfigurationProperties()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface io.micronaut.core.util.Toggleable
        Returns:
        true if you want to enable the LogoutController
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enables LogoutController. Default value false.
        Parameters:
        enabled - true if it is
      • setPath

        public void setPath​(java.lang.String path)
        Path to the LogoutController. Default value "/logout".
        Parameters:
        path - The path
      • setGetAllowed

        public void setGetAllowed​(boolean getAllowed)
        Enables HTTP GET invocations of LogoutController. Default value (false).
        Parameters:
        getAllowed - Whether Http GET should be supported.