org.exist.http.servlets
Class DigestAuthenticator
java.lang.Object
   org.exist.http.servlets.DigestAuthenticator
org.exist.http.servlets.DigestAuthenticator
- All Implemented Interfaces: 
- Authenticator
- public class DigestAuthenticator 
- extends Object- implements Authenticator
An Authenticator that uses MD5 Digest Authentication.
- Author:
- wolf
 
 
 
DigestAuthenticator
public DigestAuthenticator(BrokerPool pool)
authenticate
public User authenticate(HttpServletRequest request,
                         HttpServletResponse response)
                  throws IOException
- Description copied from interface: Authenticator
- Try to authenticate the user specified in the HTTP request.
 
- 
- Specified by:
- authenticatein interface- Authenticator
 
- 
- Returns:
- The authenticated user or null if the user isn't autenticated
- Throws:
- IOException
 
sendChallenge
public void sendChallenge(HttpServletRequest request,
                          HttpServletResponse response)
                   throws IOException
- Description copied from interface: Authenticator
- Send an WWW-Authenticate header back to client.
 
- 
- Specified by:
- sendChallengein interface- Authenticator
 
- 
- Throws:
- IOException
 
Copyright (C) Wolfgang Meier. All rights reserved.