org.apache.catalina.deploy

Class LoginConfig

public class LoginConfig extends 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: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

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
StringgetAuthMethod()
StringgetErrorPage()
StringgetLoginPage()
StringgetRealmName()
voidsetAuthMethod(String authMethod)
voidsetErrorPage(String errorPage)
voidsetLoginPage(String loginPage)
voidsetRealmName(String realmName)
StringtoString()
Return a String representation of this object.

Constructor Detail

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 Detail

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 © 2000-2011 Apache Software Foundation. All Rights Reserved.