Class LoginConfig

  • All Implemented Interfaces:

    public class LoginConfig
    extends XmlEncodingBase
    Representation of a login configuration element for a web application, as represented in a <login-config> element in the deployment descriptor.
    Craig R. McClanahan
    See Also:
    Serialized Form
    • Constructor Detail

      • LoginConfig

        public LoginConfig()
        Construct a new LoginConfig with default properties.
      • LoginConfig

        public LoginConfig​(java.lang.String authMethod,
                           java.lang.String realmName,
                           java.lang.String loginPage,
                           java.lang.String errorPage)
        Construct a new LoginConfig with the specified properties.
        authMethod - The authentication method
        realmName - The realm name
        loginPage - The login page URI
        errorPage - The error page URI
    • Method Detail

      • getAuthMethod

        public java.lang.String getAuthMethod()
      • setAuthMethod

        public void setAuthMethod​(java.lang.String authMethod)
      • getErrorPage

        public java.lang.String getErrorPage()
      • setErrorPage

        public void setErrorPage​(java.lang.String errorPage)
      • getLoginPage

        public java.lang.String getLoginPage()
      • setLoginPage

        public void setLoginPage​(java.lang.String loginPage)
      • getRealmName

        public java.lang.String getRealmName()
      • setRealmName

        public void setRealmName​(java.lang.String realmName)
      • toString

        public java.lang.String toString()
        Return a String representation of this object.
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object