org.eclipse.jst.j2ee.webapplication
Interface FormLoginConfig
- All Superinterfaces:
- J2EEEObject
- public interface FormLoginConfig
- extends J2EEEObject
The form-login-config element specifies the login and error pages that should be used in form based login. If form based authentication is not used, these elements are ignored.
getFormLoginPage
public java.lang.String getFormLoginPage()
- Returns:
- The value of the FormLoginPage attribute
The form-login-page element defines the location in the web app where the page
that can be used for login can be found
setFormLoginPage
public void setFormLoginPage(java.lang.String value)
- Parameters:
value
- The new value of the FormLoginPage attribute
getFormErrorPage
public java.lang.String getFormErrorPage()
- Returns:
- The value of the FormErrorPage attribute
The form-error-page element defines the location in the web app where the error
page that is displayed when login is not successful can be found
setFormErrorPage
public void setFormErrorPage(java.lang.String value)
- Parameters:
value
- The new value of the FormErrorPage attribute
getLoginConfig
public LoginConfig getLoginConfig()
- Returns:
- The LoginConfig reference
setLoginConfig
public void setLoginConfig(LoginConfig value)