com.hack23.cia.web.impl.ui.common
Class SecurityControllerImpl
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
com.hack23.cia.web.impl.ui.common.SecurityControllerImpl
- All Implemented Interfaces:
- SecurityController, EventListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
@ManagedResource(objectName="Configuration:name=securityController")
@Configuration(value="securityController")
public class SecurityControllerImpl
- extends org.springframework.web.servlet.mvc.AbstractController
- implements SecurityController, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
The Class SecurityControllerImpl.
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 |
Method Summary |
void |
close()
Close. |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
boolean |
isOpened()
Checks if is opened. |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
void |
open()
Open. |
void |
verifyRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Verify request. |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
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, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityControllerImpl
public SecurityControllerImpl()
close
@ManagedOperation
public void close()
- Close.
isOpened
@ManagedAttribute
public boolean isOpened()
- Checks if is opened.
- Returns:
- true, if is opened
open
@ManagedOperation
public void open()
- Open.
verifyRequest
public void verifyRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Description copied from interface:
SecurityController
- Verify request.
- Specified by:
verifyRequest
in interface SecurityController
- Parameters:
request
- the requestresponse
- the response
- Throws:
Exception
- the exception
handleRequestInternal
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Specified by:
handleRequestInternal
in class org.springframework.web.servlet.mvc.AbstractController
- Throws:
Exception
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
Copyright © 2008-2012 www.hack23.com. All Rights Reserved.