public class LoginConfig
extends java.lang.Object
implements java.io.Serializable
<login-config>
element in the
deployment descriptor.Constructor and Description |
---|
LoginConfig()
Construct a new LoginConfig with default properties.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthMethod() |
java.lang.String |
getErrorPage() |
java.lang.String |
getLoginPage() |
java.lang.String |
getRealmName() |
int |
hashCode() |
void |
setAuthMethod(java.lang.String authMethod) |
void |
setErrorPage(java.lang.String errorPage) |
void |
setLoginPage(java.lang.String loginPage) |
void |
setRealmName(java.lang.String realmName) |
java.lang.String |
toString()
Return a String representation of this object.
|
public LoginConfig()
public LoginConfig(java.lang.String authMethod, java.lang.String realmName, java.lang.String loginPage, java.lang.String errorPage)
authMethod
- The authentication methodrealmName
- The realm nameloginPage
- The login page URIerrorPage
- The error page URIpublic java.lang.String getAuthMethod()
public void setAuthMethod(java.lang.String authMethod)
public java.lang.String getErrorPage()
public void setErrorPage(java.lang.String errorPage)
public java.lang.String getLoginPage()
public void setLoginPage(java.lang.String loginPage)
public java.lang.String getRealmName()
public void setRealmName(java.lang.String realmName)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.