info.magnolia.cms.security.auth.callback
Class AbstractHttpClientCallback
java.lang.Object
info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
- All Implemented Interfaces:
- HttpClientCallback
- Direct Known Subclasses:
- BasicClientCallback, FormClientCallback
public abstract class AbstractHttpClientCallback
- extends 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 $
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 |
AbstractHttpClientCallback
public AbstractHttpClientCallback()
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-2012 Magnolia International Ltd.. All Rights Reserved.