org.mortbay.http
Class BasicAuthenticator
java.lang.Object
org.mortbay.http.BasicAuthenticator
- Authenticator, Serializable
public class BasicAuthenticator
extends java.lang.Object
BASIC authentication.
$Id: BasicAuthenticator.java,v 1.17 2005/08/13 00:01:24 gregwilkins Exp $
authenticate
public Principal authenticate(UserRealm realm,
String pathInContext,
HttpRequest request,
HttpResponse response)
throws IOException
- authenticate in interface Authenticator
- UserPrinciple if authenticated or null if not. If
Authentication fails, then the authenticator may have committed
the response as an auth challenge or redirect.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.