Class LoginConfig
java.lang.Object
org.apache.tomcat.util.descriptor.web.XmlEncodingBase
org.apache.tomcat.util.descriptor.web.LoginConfig
- All Implemented Interfaces:
- Serializable
Representation of a login configuration element for a web application,
 as represented in a 
<login-config> element in the
 deployment descriptor.- Author:
- Craig R. McClanahan
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new LoginConfig with default properties.LoginConfig(String authMethod, String realmName, String loginPage, String errorPage) Construct a new LoginConfig with the specified properties.
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()voidsetAuthMethod(String authMethod) voidsetErrorPage(String errorPage) voidsetLoginPage(String loginPage) voidsetRealmName(String realmName) toString()Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.XmlEncodingBasegetCharset, setCharset
- 
Constructor Details- 
LoginConfigpublic LoginConfig()Construct a new LoginConfig with default properties.
- 
LoginConfigConstruct a new LoginConfig with the specified properties.- Parameters:
- authMethod- The authentication method
- realmName- The realm name
- loginPage- The login page URI
- errorPage- The error page URI
 
 
- 
- 
Method Details- 
getAuthMethod
- 
setAuthMethod
- 
getErrorPage
- 
setErrorPage
- 
getLoginPage
- 
setLoginPage
- 
getRealmName
- 
setRealmName
- 
toStringReturn a String representation of this object.
- 
hashCodepublic int hashCode()
- 
equals
 
-