java.lang.Object
cloud.piranha.webapp.impl.WebXmlLoginConfig
public class WebXmlLoginConfig
extends java.lang.Object
The web.xml login-config.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description WebXmlLoginConfig(java.lang.String authMethod, java.lang.String realmName, java.lang.String formLoginPage, java.lang.String formErrorPage)
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getAuthMethod()
Get the auth method.java.lang.String
getFormErrorPage()
Get the form error page.java.lang.String
getFormLoginPage()
Get the form login page.java.lang.String
getRealmName()
Get the realm name.
-
Constructor Details
-
WebXmlLoginConfig
public WebXmlLoginConfig(java.lang.String authMethod, java.lang.String realmName, java.lang.String formLoginPage, java.lang.String formErrorPage)Constructor.- Parameters:
authMethod
- the auth method.realmName
- the realm name.formLoginPage
- the form login page.formErrorPage
- the form error page.
-
-
Method Details
-
getAuthMethod
public java.lang.String getAuthMethod()Get the auth method.- Returns:
- the auth method.
-
getRealmName
public java.lang.String getRealmName()Get the realm name.- Returns:
- the realm name.
-
getFormLoginPage
public java.lang.String getFormLoginPage()Get the form login page.- Returns:
- the form login page.
-
getFormErrorPage
public java.lang.String getFormErrorPage()Get the form error page.- Returns:
- the form error page.
-