info.magnolia.cms.security.auth.callback
Class AbstractHttpClientCallback

java.lang.Object
  extended by info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
All Implemented Interfaces:
HttpClientCallback
Direct Known Subclasses:
BasicClientCallback, FormClientCallback

public abstract class AbstractHttpClientCallback
extends java.lang.Object
implements HttpClientCallback

Tells the client that he has to login by setting the response status to HttpServletResponse.SC_UNAUTHORIZED. $Id: AbstractHttpClientCallback.java 41137 2011-01-06 18:19:25Z gjoseph $


Constructor Summary
AbstractHttpClientCallback()
           
 
Method Summary
abstract  void doCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHttpClientCallback

public AbstractHttpClientCallback()
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
Specified by:
handle in interface HttpClientCallback

doCallback

public abstract void doCallback(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.