org.apache.catalina.deploy
Class LoginConfig
java.lang.Object
org.apache.catalina.deploy.LoginConfig
- Serializable
public class LoginConfig
extends java.lang.Object
implements Serializable
Representation of a login configuration element for a web application,
as represented in a <login-config>
element in the
deployment descriptor.
Version:
- Craig R. McClanahan
LoginConfig() - Construct a new LoginConfig with default properties.
|
LoginConfig(String authMethod, String realmName, String loginPage, String errorPage) - Construct a new LoginConfig with the specified properties.
|
LoginConfig
public LoginConfig()
Construct a new LoginConfig with default properties.
LoginConfig
public LoginConfig(String authMethod,
String realmName,
String loginPage,
String errorPage)
Construct a new LoginConfig with the specified properties.
authMethod
- The authentication methodrealmName
- The realm nameloginPage
- The login page URIerrorPage
- The error page URI
getAuthMethod
public String getAuthMethod()
getErrorPage
public String getErrorPage()
getLoginPage
public String getLoginPage()
getRealmName
public String getRealmName()
setAuthMethod
public void setAuthMethod(String authMethod)
setErrorPage
public void setErrorPage(String errorPage)
setLoginPage
public void setLoginPage(String loginPage)
setRealmName
public void setRealmName(String realmName)
toString
public String toString()
Return a String representation of this object.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.