Class LoginConfig
- java.lang.Object
- 
- org.apache.tomcat.util.descriptor.web.XmlEncodingBase
- 
- org.apache.tomcat.util.descriptor.web.LoginConfig
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class LoginConfig extends XmlEncodingBase implements java.io.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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAuthMethod()java.lang.StringgetErrorPage()java.lang.StringgetLoginPage()java.lang.StringgetRealmName()inthashCode()voidsetAuthMethod(java.lang.String authMethod)voidsetErrorPage(java.lang.String errorPage)voidsetLoginPage(java.lang.String loginPage)voidsetRealmName(java.lang.String realmName)java.lang.StringtoString()Return a String representation of this object.- 
Methods inherited from class org.apache.tomcat.util.descriptor.web.XmlEncodingBasegetCharset, setCharset
 
- 
 
- 
- 
- 
Constructor Detail- 
LoginConfigpublic LoginConfig() Construct a new LoginConfig with default properties.
 - 
LoginConfigpublic 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.- Parameters:
- authMethod- The authentication method
- realmName- The realm name
- loginPage- The login page URI
- errorPage- The error page URI
 
 
- 
 - 
Method Detail- 
getAuthMethodpublic java.lang.String getAuthMethod() 
 - 
setAuthMethodpublic void setAuthMethod(java.lang.String authMethod) 
 - 
getErrorPagepublic java.lang.String getErrorPage() 
 - 
setErrorPagepublic void setErrorPage(java.lang.String errorPage) 
 - 
getLoginPagepublic java.lang.String getLoginPage() 
 - 
setLoginPagepublic void setLoginPage(java.lang.String loginPage) 
 - 
getRealmNamepublic java.lang.String getRealmName() 
 - 
setRealmNamepublic void setRealmName(java.lang.String realmName) 
 - 
toStringpublic java.lang.String toString() Return a String representation of this object.- Overrides:
- toStringin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-