info.magnolia.cms.security.auth.callback
Class FormClientCallback
java.lang.Object
info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
info.magnolia.cms.security.auth.callback.FormClientCallback
- All Implemented Interfaces:
- HttpClientCallback
public class FormClientCallback
- extends AbstractHttpClientCallback
Sends a login form.
- Author:
- Sameer Charles
$Id: FormClientCallback.java 41137 2011-01-06 18:19:25Z gjoseph $
Method Summary |
void |
doCallback(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.lang.String |
getLoginForm()
|
protected java.util.Map<java.lang.String,java.lang.String> |
getMessages()
simply sets "errorString" in case of login exception. |
void |
setLoginForm(java.lang.String loginForm)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_STRING
public static final java.lang.String ERROR_STRING
- See Also:
- Constant Field Values
FormClientCallback
public FormClientCallback()
doCallback
public void doCallback(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Specified by:
doCallback
in class AbstractHttpClientCallback
getLoginForm
public java.lang.String getLoginForm()
setLoginForm
public void setLoginForm(java.lang.String loginForm)
getMessages
protected java.util.Map<java.lang.String,java.lang.String> getMessages()
- simply sets "errorString" in case of login exception.
override this to pass more objects to the freemarker template.
- Returns:
- an empty map
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.