| Modifier and Type | Class and Description |
|---|---|
| private static class | FormAuthenticator.
FORM Authentication credential holder. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private String | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Principal | Returns: UserPrincipal if authenticated else null.an realm, String UserRealm valuea pathInContext, Request String valuea request, Response Request valuea response)Response value. If non-null response is passed,
then a failed authentication will result in a challenge response being
set in the response.Implements org. |
| public String | |
| public String | |
| public String | |
| public boolean | |
| public void | |
| public void |
| __J_AUTHENTICATED | back to summary |
|---|---|
| public static final String __J_AUTHENTICATED | |
| __J_PASSWORD | back to summary |
|---|---|
| public static final String __J_PASSWORD | |
| __J_SECURITY_CHECK | back to summary |
|---|---|
| public static final String __J_SECURITY_CHECK | |
| __J_URI | back to summary |
|---|---|
| public static final String __J_URI | |
| __J_USERNAME | back to summary |
|---|---|
| public static final String __J_USERNAME | |
| _formErrorPage | back to summary |
|---|---|
| private String _formErrorPage | |
| _formErrorPath | back to summary |
|---|---|
| private String _formErrorPath | |
| _formLoginPage | back to summary |
|---|---|
| private String _formLoginPage | |
| _formLoginPath | back to summary |
|---|---|
| private String _formLoginPath | |
| FormAuthenticator | back to summary |
|---|---|
| public FormAuthenticator() | |
| authenticate | back to summary |
|---|---|
| public Principal authenticate(UserRealm realm, String pathInContext, Request request, Response response) throws IOException Implements org. Perform form authentication. Called from SecurityHandler.
| |
| getAuthMethod | back to summary |
|---|---|
| public String getAuthMethod() Implements org. | |
| getErrorPage | back to summary |
|---|---|
| public String getErrorPage() | |
| getLoginPage | back to summary |
|---|---|
| public String getLoginPage() | |
| isLoginOrErrorPage | back to summary |
|---|---|
| public boolean isLoginOrErrorPage(String pathInContext) | |
| setErrorPage | back to summary |
|---|---|
| public void setErrorPage(String path) | |
| setLoginPage | back to summary |
|---|---|
| public void setLoginPage(String path) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv String | |
| pack-priv transient UserRealm | |
| pack-priv transient Principal |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public String | |
| public void | valueBound(HttpSessionBindingEvent
the event that identifies the
session event)Overrides default javax. |
| public void | valueUnbound(HttpSessionBindingEvent
the event that identifies
the session event)Overrides default javax. |
| _jPassword | back to summary |
|---|---|
| pack-priv String _jPassword | |
| _jUserName | back to summary |
|---|---|
| pack-priv String _jUserName | |
| _realm | back to summary |
|---|---|
| pack-priv transient UserRealm _realm | |
| _userPrincipal | back to summary |
|---|---|
| pack-priv transient Principal _userPrincipal | |
| FormCredential | back to summary |
|---|---|
| private FormCredential() | |
| authenticate | back to summary |
|---|---|
| pack-priv void authenticate(UserRealm realm, String user, String password, Request request) | |
| authenticate | back to summary |
|---|---|
| pack-priv void authenticate(UserRealm realm, Request request) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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.
| |
| 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| valueBound | back to summary |
|---|---|
| public void valueBound(HttpSessionBindingEvent event) Overrides default javax. Doc from javax. Notifies the object that it is being bound to a session and identifies the session.
| |
| valueUnbound | back to summary |
|---|---|
| public void valueUnbound(HttpSessionBindingEvent event) Overrides default javax. Doc from javax. Notifies the object that it is being unbound from a session and identifies the session.
| |