org.exist.http.servlets
Interface Authenticator

All Known Implementing Classes:
BasicAuthenticator, DigestAuthenticator

public interface Authenticator

Interface for HTTP authentication methods.

Author:
wolf

Method Summary
 User authenticate(HttpServletRequest request, HttpServletResponse response)
          Try to authenticate the user specified in the HTTP request.
 void sendChallenge(HttpServletRequest request, HttpServletResponse response)
          Send an WWW-Authenticate header back to client.
 

Method Detail

authenticate

public User authenticate(HttpServletRequest request,
                         HttpServletResponse response)
                  throws java.io.IOException
Try to authenticate the user specified in the HTTP request.

Parameters:
request -
response -
Returns:
Throws:
java.io.IOException

sendChallenge

public void sendChallenge(HttpServletRequest request,
                          HttpServletResponse response)
                   throws java.io.IOException
Send an WWW-Authenticate header back to client.

Parameters:
request -
response -
Throws:
java.io.IOException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.