Class UstraJwtAuthenticationDuplicationCheckController

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.UstraJwtAuthenticationDuplicationCheckController
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 UstraJwtAuthenticationDuplicationCheckController extends org.springframework.web.servlet.mvc.AbstractController
인증 중복 여부를 판단하는 controller
  • 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.jwt.authentication.processor.UstraJwtAuthenticationProcessor
    프로세서
    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
    UstraJwtAuthenticationDuplicationCheckController(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor processor, String parameterName, String secretKey, com.gsitm.ustra.java.security.connection.UstraConnectionStorage<?> connectionStorage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    타 인스턴스에서 로그인 시에 토큰을 조회하여 만료, 중복 인증 체크
    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.jwt.authentication.processor.UstraJwtAuthenticationProcessor 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

    • UstraJwtAuthenticationDuplicationCheckController

      public UstraJwtAuthenticationDuplicationCheckController(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor 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
    • checkDuplicatedAuthentication

      public void checkDuplicatedAuthentication()
      타 인스턴스에서 로그인 시에 토큰을 조회하여 만료, 중복 인증 체크