Class UstraSessionAuthenticationCheckController

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.gsitm.ustra.java.autoconfigure.security.duplication.polling.UstraSessionAuthenticationCheckController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

public class UstraSessionAuthenticationCheckController extends org.springframework.web.servlet.mvc.AbstractController
세션 기반 인증 중복 및 자동 로그아웃 처리
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.gsitm.ustra.java.security.connection.UstraConnectionStorage<AuthenticationPollingClientInfo>
    Connection storage
    protected final Executor
    스케쥴러
    protected final String
    파라메터 명
    protected final com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor
    프로세서
    protected final String
    인증 키

    Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator

    HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POST

    Fields inherited from class org.springframework.context.support.ApplicationObjectSupport

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    UstraSessionAuthenticationCheckController(com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor processor, String parameterName, String secretKey, com.gsitm.ustra.java.security.connection.UstraConnectionStorage<?> connectionStorage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.web.servlet.ModelAndView
    handleRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     

    Methods inherited from class org.springframework.web.servlet.mvc.AbstractController

    handleRequest, isSynchronizeOnSession, setSynchronizeOnSession

    Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator

    applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders

    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, obtainApplicationContext, requiredContextClass, setApplicationContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • processor

      protected final com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor processor
      프로세서
    • parameterName

      protected final String parameterName
      파라메터 명
    • secretKey

      protected final String secretKey
      인증 키
    • executor

      protected final Executor executor
      스케쥴러
    • connectionStorage

      protected com.gsitm.ustra.java.security.connection.UstraConnectionStorage<AuthenticationPollingClientInfo> connectionStorage
      Connection storage
  • Constructor Details

    • UstraSessionAuthenticationCheckController

      public UstraSessionAuthenticationCheckController(com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor processor, String parameterName, String secretKey, com.gsitm.ustra.java.security.connection.UstraConnectionStorage<?> connectionStorage)
  • Method Details

    • handleRequestInternal

      protected org.springframework.web.servlet.ModelAndView handleRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws Exception
      Specified by:
      handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractController
      Throws:
      Exception