org.shept.org.springframework.web.servlet.mvc.delegation.component
Class LoginComponent
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.shept.org.springframework.web.servlet.mvc.delegation.component.AbstractComponent
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
| 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 |
| 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 |
formCache
private SessionFormCache formCache
clearFormCacheOnLogin
private boolean clearFormCacheOnLogin
LoginComponent
public LoginComponent()
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.