public class LoginConfig extends Object implements Serializable
<login-config>
element in the
deployment descriptor.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public LoginConfig()
public LoginConfig(String authMethod, String realmName, String loginPage, String errorPage)
authMethod
- The authentication methodrealmName
- The realm nameloginPage
- The login page URIerrorPage
- The error page URIpublic String getAuthMethod()
public void setAuthMethod(String authMethod)
public String getErrorPage()
public void setErrorPage(String errorPage)
public String getLoginPage()
public void setLoginPage(String loginPage)
public String getRealmName()
public void setRealmName(String realmName)
Copyright © 2019. All rights reserved.