<login-config> element in the
deployment descriptor.
| Modifier and Type | Field and Description |
|---|---|
| private String | authMethod
The authentication method to use for application login. |
| private String | errorPage
The context-relative URI of the error page for form login. |
| private String | loginPage
The context-relative URI of the login page for form login. |
| private String | realmName
The realm name used when challenging the user for authentication credentials. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | LoginConfig(String
The authentication method authMethod, String The realm name realmName, String The login page URI loginPage, String The error page URI errorPage)Construct a new LoginConfig with the specified properties. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public String | |
| public String | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| authMethod | back to summary |
|---|---|
| private String authMethod The authentication method to use for application login. Must be BASIC, DIGEST, FORM, or CLIENT-CERT. | |
| errorPage | back to summary |
|---|---|
| private String errorPage The context-relative URI of the error page for form login. | |
| loginPage | back to summary |
|---|---|
| private String loginPage The context-relative URI of the login page for form login. | |
| realmName | back to summary |
|---|---|
| private String realmName The realm name used when challenging the user for authentication credentials. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LoginConfig | back to summary |
|---|---|
| public LoginConfig() Construct a new LoginConfig with default properties. | |
| LoginConfig | back to summary |
|---|---|
| public LoginConfig(String authMethod, String realmName, String loginPage, String errorPage) Construct a new LoginConfig with the specified properties. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAuthMethod | back to summary |
|---|---|
| public String getAuthMethod() | |
| getErrorPage | back to summary |
|---|---|
| public String getErrorPage() | |
| getLoginPage | back to summary |
|---|---|
| public String getLoginPage() | |
| getRealmName | back to summary |
|---|---|
| public String getRealmName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setAuthMethod | back to summary |
|---|---|
| public void setAuthMethod(String authMethod) | |
| setErrorPage | back to summary |
|---|---|
| public void setErrorPage(String errorPage) | |
| setLoginPage | back to summary |
|---|---|
| public void setLoginPage(String loginPage) | |
| setRealmName | back to summary |
|---|---|
| public void setRealmName(String realmName) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of this object.
| |