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

java.lang.Object
  extended by info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
      extended by 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 $

Field Summary
static String ERROR_STRING
           
 
Constructor Summary
FormClientCallback()
           
 
Method Summary
 void doCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String getLoginForm()
           
protected  Map<String,String> getMessages()
          simply sets "errorString" in case of login exception.
 void setLoginForm(String loginForm)
           
 
Methods inherited from class info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_STRING

public static final String ERROR_STRING
See Also:
Constant Field Values
Constructor Detail

FormClientCallback

public FormClientCallback()
Method Detail

doCallback

public void doCallback(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Specified by:
doCallback in class AbstractHttpClientCallback

getLoginForm

public String getLoginForm()

setLoginForm

public void setLoginForm(String loginForm)

getMessages

protected Map<String,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-2012 Magnolia International Ltd.. All Rights Reserved.