net.sf.jguard.jee.authentication.callbacks
Class HttpServletCallbackHandler

java.lang.Object
  extended by net.sf.jguard.core.authentication.callbackhandler.JGuardCallbackHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
      extended by net.sf.jguard.jee.authentication.callbacks.HttpServletCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class HttpServletCallbackHandler
extends JGuardCallbackHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>

implementation for the HttpServlet underlying communication technology.

Author:
Charles Gay

Constructor Summary
HttpServletCallbackHandler(Request<javax.servlet.http.HttpServletRequest> request, Response<javax.servlet.http.HttpServletResponse> response, Collection<AuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>> authenticationSchemeHandlers)
           
 
Method Summary
protected  boolean isAsynchronous()
           
 
Methods inherited from class net.sf.jguard.core.authentication.callbackhandler.JGuardCallbackHandler
authenticationFailed, authenticationSucceed, handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServletCallbackHandler

@Inject
public HttpServletCallbackHandler(Request<javax.servlet.http.HttpServletRequest> request,
                                         Response<javax.servlet.http.HttpServletResponse> response,
                                         Collection<AuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>> authenticationSchemeHandlers)
Method Detail

isAsynchronous

protected boolean isAsynchronous()
Specified by:
isAsynchronous in class JGuardCallbackHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
Returns:
true because client answer in HTTP can be delayed.


Copyright © 2004-2011. All Rights Reserved.