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 Summary
ConstructorDescriptionConstruct a new LoginConfig with default properties.LoginConfig
(String authMethod, String realmName, String loginPage, String errorPage) Construct a new LoginConfig with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setAuthMethod
(String authMethod) void
setErrorPage
(String errorPage) void
setLoginPage
(String loginPage) void
setRealmName
(String realmName) toString()
Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.XmlEncodingBase
getCharset, getEncoding, setCharset, setEncoding
-
Constructor Details
-
LoginConfig
public LoginConfig()Construct a new LoginConfig with default properties. -
LoginConfig
Construct a new LoginConfig with the specified properties.- Parameters:
authMethod
- The authentication methodrealmName
- The realm nameloginPage
- The login page URIerrorPage
- The error page URI
-
-
Method Details
-
getAuthMethod
-
setAuthMethod
-
getErrorPage
-
setErrorPage
-
getLoginPage
-
setLoginPage
-
getRealmName
-
setRealmName
-
toString
Return a String representation of this object. -
hashCode
public int hashCode() -
equals
-