org.mortbay.http
public interface Authenticator extends Serializable
| Method Summary | |
|---|---|
| Principal | authenticate(UserRealm realm, String pathInContext, HttpRequest request, HttpResponse response) Authenticate. |
| String | getAuthMethod() |
Parameters: realm an UserRealm value pathInContext a String value request a HttpRequest value response a HttpResponse value. If non-null response is passed,
then a failed authentication will result in a challenge response being
set in the response.
Returns: User Principal if authenticated. Null if Authentication
failed. If the SecurityConstraint.__NOBODY instance is returned,
the request is considered as part of the authentication process.
Throws: IOException if an error occurs