org.apache.catalina.deploy

Class LoginConfig

Implemented Interfaces:
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:
$Revision: 1.4 $ $Date: 2004/05/13 20:40:49 $

Author:
Craig R. McClanahan

Constructor Summary

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.

Method Summary

String
getAuthMethod()
String
getErrorPage()
String
getLoginPage()
String
getRealmName()
void
setAuthMethod(String authMethod)
void
setErrorPage(String errorPage)
void
setLoginPage(String loginPage)
void
setRealmName(String realmName)
String
toString()
Return a String representation of this object.

Constructor Details

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.

Parameters:
authMethod - The authentication method
realmName - The realm name
loginPage - The login page URI
errorPage - The error page URI

Method Details

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.