Class UstraJwtAuthenticationManager

java.lang.Object
com.gsitm.ustra.java.security.authentication.UstraAuthenticationManager
com.gsitm.ustra.java.security.jwt.authentication.UstraJwtAuthenticationManager

public class UstraJwtAuthenticationManager extends com.gsitm.ustra.java.security.authentication.UstraAuthenticationManager
Jwt 인증 처리 기능을 제공하는 클래스
  • Field Summary

    Fields inherited from class com.gsitm.ustra.java.security.authentication.UstraAuthenticationManager

    authenticationProcessors
  • Constructor Summary

    Constructors
    Constructor
    Description
    UstraJwtAuthenticationManager(List<com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor<?,?>> authenticationProcessors)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addClientData(String groupName, String key, Object value)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    addServerData(String groupName, String key, Object value)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    protected <R extends com.gsitm.ustra.java.security.authentication.authentication.UstraAuthentication>
    UstraJwtAuthenticationProcessor
    getAuthenticationProcessor(R authentication)
     
    getClientData(String groupName)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    현재 토큰 정보 조회
    getServerData(String groupName)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    recreateToken(jakarta.servlet.http.HttpServletResponse response)
    토큰 재성성
    void
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    removeClientData(String groupName, String key)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)
    void
    removeServerData(String groupName, String key)
    Deprecated.
    Since 2.1.0 will be removed (use CachedUserDetailProvider)

    Methods inherited from class com.gsitm.ustra.java.security.authentication.UstraAuthenticationManager

    authenticate, getAuthentication, getAuthenticationProcessor, getProcessors, getRequestProcessor, getUnAuthenticationProcessor, getUserKey, isAuthenticated, request, unAuthenticate

    Methods inherited from class java.lang.Object

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

    • UstraJwtAuthenticationManager

      public UstraJwtAuthenticationManager(List<com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor<?,?>> authenticationProcessors)
  • Method Details

    • getAuthenticationProcessor

      protected <R extends com.gsitm.ustra.java.security.authentication.authentication.UstraAuthentication> UstraJwtAuthenticationProcessor getAuthenticationProcessor(R authentication)
    • recreateToken

      public void recreateToken(jakarta.servlet.http.HttpServletResponse response)
      토큰 재성성
      Parameters:
      response - current response 객체
    • getCurrentToken

      public UstraCurrentJwtInfo getCurrentToken()
      현재 토큰 정보 조회
      Returns:
    • addClientData

      public void addClientData(String groupName, String key, Object value)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      클라이언트로 전송할 데이터 추가
      Parameters:
      groupName - 그룹명
      key - 키
      value - 값
    • addServerData

      public void addServerData(String groupName, String key, Object value)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      서버 전송할 데이터 추가
      Parameters:
      groupName - 그룹명
      key - 키
      value - 값
    • removeClientData

      public void removeClientData(String groupName, String key)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      클라이언트 데이터 제거
      Parameters:
      groupName - 그룹명
      key - 키
    • removeCilentData

      public void removeCilentData(String groupName)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      클라이언트 데이터 제거
      Parameters:
      groupName - 그룹명
    • clearCilentData

      public void clearCilentData()
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      클라이언트 데이터 초기화
    • removeServerData

      public void removeServerData(String groupName, String key)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      서버 데이터 제거
    • removeServerData

      public void removeServerData(String groupName)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      서버 데이터 제거
      Parameters:
      groupName - 그룹명
    • clearServerData

      public void clearServerData()
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      서버 데이터 초기화
    • getClientData

      public Map<String,Object> getClientData(String groupName)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      client 데이터 조회
      Parameters:
      groupName -
      Returns:
    • getServerData

      public Map<String,Object> getServerData(String groupName)
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      server 데이터 조회
      Parameters:
      groupName -
      Returns:
    • getClientSecretKey

      public String getClientSecretKey()
      Deprecated.
      Since 2.1.0 will be removed (use CachedUserDetailProvider)
      클라이언트 암호화 키 조회
      Returns: