org.mortbay.http
public class BasicAuthenticator extends Object implements Authenticator
Version: $Id: BasicAuthenticator.java,v 1.17 2005/08/13 00:01:24 gregwilkins Exp $
Method Summary | |
---|---|
Principal | authenticate(UserRealm realm, String pathInContext, HttpRequest request, HttpResponse response) |
String | getAuthMethod() |
void | sendChallenge(UserRealm realm, HttpResponse response) |
Returns: UserPrinciple if authenticated or null if not. If Authentication fails, then the authenticator may have committed the response as an auth challenge or redirect.
Throws: IOException