org.mortbay.jetty.servlet
public class FormAuthenticator extends Object implements Authenticator
Version: $Id: FormAuthenticator.java,v 1.32 2005/08/13 00:01:27 gregwilkins Exp $
| Field Summary | |
|---|---|
| static String | __J_AUTHENTICATED |
| static String | __J_PASSWORD |
| static String | __J_SECURITY_CHECK |
| static String | __J_URI |
| static String | __J_USERNAME |
| Method Summary | |
|---|---|
| Principal | authenticate(UserRealm realm, String pathInContext, HttpRequest httpRequest, HttpResponse httpResponse) Perform form authentication.
|
| String | getAuthMethod() |
| String | getErrorPage() |
| String | getLoginPage() |
| boolean | isLoginOrErrorPage(String pathInContext) |
| void | setErrorPage(String path) |
| void | setLoginPage(String path) |
Returns: UserPrincipal if authenticated else null.