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
ConstructorsConstructorDescriptionUstraJwtAuthenticationManager(List<com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor<?, ?>> authenticationProcessors) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientData(String groupName, String key, Object value) Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidaddServerData(String groupName, String key, Object value) Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidDeprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidDeprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)protected <R extends com.gsitm.ustra.java.security.authentication.authentication.UstraAuthentication>
UstraJwtAuthenticationProcessorgetAuthenticationProcessor(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)voidrecreateToken(jakarta.servlet.http.HttpServletResponse response) 토큰 재성성voidremoveCilentData(String groupName) Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidremoveClientData(String groupName, String key) Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidremoveServerData(String groupName) Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)voidremoveServerData(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
-
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
현재 토큰 정보 조회- Returns:
-
addClientData
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)클라이언트로 전송할 데이터 추가- Parameters:
groupName- 그룹명key- 키value- 값
-
addServerData
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)서버 전송할 데이터 추가- Parameters:
groupName- 그룹명key- 키value- 값
-
removeClientData
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)클라이언트 데이터 제거- Parameters:
groupName- 그룹명key- 키
-
removeCilentData
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
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)서버 데이터 제거 -
removeServerData
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
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)client 데이터 조회- Parameters:
groupName-- Returns:
-
getServerData
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)server 데이터 조회- Parameters:
groupName-- Returns:
-
getClientSecretKey
Deprecated.Since 2.1.0 will be removed (use CachedUserDetailProvider)클라이언트 암호화 키 조회- Returns:
-