org.openmdx.security.auth.servlet.cci
Interface HttpAuthenticationHandler

All Superinterfaces:
HttpHandler
All Known Implementing Classes:
AbstractAuthenticationHandler, AbstractRemoteAuthenticationHandler, RemoteAuthenticationHandler, RemoteAuthenticationHandler, RemoteAuthenticationHandler, SimpleAuthenticationHandler

public interface HttpAuthenticationHandler
extends HttpHandler

HTTP Callback Handler


Method Summary
 AuthenticationContext getAuthentication(HttpServletRequest request, boolean create)
          Acquire an AuthenticationContext object
 void returnAuthentication(HttpServletRequest request)
          Return an Authentication object
 
Methods inherited from interface org.openmdx.security.auth.servlet.cci.HttpHandler
destroy, init
 

Method Detail

getAuthentication

AuthenticationContext getAuthentication(HttpServletRequest request,
                                        boolean create)
                                        throws ServletException,
                                               TimeoutException
Acquire an AuthenticationContext object

Parameters:
request -
create - tells whther the Authentication should be newly created or retrieved.
Returns:
an Authentication object
Throws:
ServletException - if Authentication acquisition fails
TimeoutException - in case of timeout

returnAuthentication

void returnAuthentication(HttpServletRequest request)
                          throws ServletException,
                                 TimeoutException
Return an Authentication object

Parameters:
request -
Throws:
ServletException - if Authentication return fails
TimeoutException - in case of timeout


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.