org.shept.org.springframework.web.servlet.mvc.delegation.component
Class LoginComponent

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.shept.org.springframework.web.servlet.mvc.delegation.component.AbstractComponent
                  extended by org.shept.org.springframework.web.servlet.mvc.delegation.component.LoginComponent
All Implemented Interfaces:
WebComponent, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

public class LoginComponent
extends AbstractComponent

Version:
$$Id: LoginComponent.java 34 2010-08-20 16:46:49Z aha $$
Author:
Andi

Field Summary
private  boolean clearFormCacheOnLogin
           
private  SessionFormCache formCache
           
 
Fields inherited from class org.shept.org.springframework.web.servlet.mvc.delegation.component.AbstractComponent
ANCHOR_PREFIX
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
LoginComponent()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView excecuteAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ComponentToken token)
           
 Map<String,String> getDefaultMappings()
           
 SessionFormCache getFormCache()
           
 boolean isClearFormCacheOnLogin()
           
 void setClearFormCacheOnLogin(boolean clearFormCacheOnLogin)
           
 void setFormCache(SessionFormCache formCache)
           
 boolean supports(Object commandObject)
           
 
Methods inherited from class org.shept.org.springframework.web.servlet.mvc.delegation.component.AbstractComponent
getAnchorPrefix, getMappings, getResources, hasErrorsInPath, initApplicationContext, isCopyResources, modelRedirect, modelRedirect, modelRedirectClip, modelUnhandled, modelWithErrors, setAnchorPrefix, setCopyResources, setMappings, setResources, supportedActions, supportsAction
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formCache

private SessionFormCache formCache

clearFormCacheOnLogin

private boolean clearFormCacheOnLogin
Constructor Detail

LoginComponent

public LoginComponent()
Method Detail

excecuteAction

public org.springframework.web.servlet.ModelAndView excecuteAction(javax.servlet.http.HttpServletRequest request,
                                                                   javax.servlet.http.HttpServletResponse response,
                                                                   ComponentToken token)
                                                            throws Exception
Throws:
Exception

getDefaultMappings

public Map<String,String> getDefaultMappings()
Specified by:
getDefaultMappings in class AbstractComponent

supports

public boolean supports(Object commandObject)

getFormCache

public SessionFormCache getFormCache()
Returns:
the formCache

setFormCache

public void setFormCache(SessionFormCache formCache)
Parameters:
formCache - the formCache to set

isClearFormCacheOnLogin

public boolean isClearFormCacheOnLogin()
Returns:
the clearFormCacheOnLogin

setClearFormCacheOnLogin

public void setClearFormCacheOnLogin(boolean clearFormCacheOnLogin)
Parameters:
clearFormCacheOnLogin - the clearFormCacheOnLogin to set


Copyright © 2011. All Rights Reserved.