org.apache.maven.j2ee.war
Class FormLoginConfig

java.lang.Object
  extended byorg.apache.maven.j2ee.war.FormLoginConfig

public class FormLoginConfig
extends Object

A class to represent the <form-login-config> element of a war file

Version:
$Id: FormLoginConfig.java 170200 2005-05-15 06:24:19Z brett $
Author:
dion

Constructor Summary
FormLoginConfig()
          Create an instance of the class with null values for all fields
FormLoginConfig(String login, String error)
          Create an instance of the class with the given values for fields
 
Method Summary
 String getErrorPage()
          Getter for property errorPage.
 String getLoginPage()
          Getter for property loginPage.
 void setErrorPage(String errorPage)
          Setter for property errorPage.
 void setLoginPage(String loginPage)
          Setter for property loginPage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormLoginConfig

public FormLoginConfig()
Create an instance of the class with null values for all fields


FormLoginConfig

public FormLoginConfig(String login,
                       String error)
Create an instance of the class with the given values for fields

Parameters:
login - initial value of loginPage property
error - initial value if errorPage property
Method Detail

getErrorPage

public String getErrorPage()
Getter for property errorPage.

Returns:
Value of property errorPage.

setErrorPage

public void setErrorPage(String errorPage)
Setter for property errorPage.

Parameters:
errorPage - New value of property errorPage.

getLoginPage

public String getLoginPage()
Getter for property loginPage.

Returns:
Value of property loginPage.

setLoginPage

public void setLoginPage(String loginPage)
Setter for property loginPage.

Parameters:
loginPage - New value of property loginPage.


Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.