Class FormLoginConfig


  • public class FormLoginConfig
    extends Object
    Class that is used for configuring form based login, when the authentication method is set to FORM in LoginConfig.
    Author:
    Rajiv Mordani, Amy Roh
    See Also:
    LoginConfig, AuthMethod
    • Constructor Detail

      • FormLoginConfig

        public FormLoginConfig​(String loginPage,
                               String errorPage)
        Creates an instance of the FormLoginConfig with the specified loginPage and errorPage
        Parameters:
        loginPage - the login page
        errorPage - the form error page
    • Method Detail

      • getFormLoginPage

        public String getFormLoginPage()
        Gets the login page
        Returns:
        the login page for form based authentication as a String
      • getFormErrorPage

        public String getFormErrorPage()
        Get the form error page
        Returns:
        the error page for form based authentication as a String
      • toString

        public String toString()
        Returns a formatted string of the state.
        Overrides:
        toString in class Object