Class DefaultUstraAuthenticationProcessor<S extends UstraAuthenticationRequestToken,R extends UstraAuthentication>
java.lang.Object
com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor<S,R>
com.gsitm.ustra.java.security.authentication.processor.DefaultUstraAuthenticationProcessor<S,R>
- Type Parameters:
S-R-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class DefaultUstraAuthenticationProcessor<S extends UstraAuthenticationRequestToken,R extends UstraAuthentication>
extends UstraAuthenticationProcessor<S,R>
기본 인증 프로세서
-
Field Summary
Fields inherited from class com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor
athenticationPropertiesProvider, authenticationAuthorityChecker, authenticationChecker, authenticationClass, authenticationKeyChecker, authenticationListener, authenticationProperties, authenticationStore, clientValidator, configurer, requestTokenChecker, userDetailChecker, userDetailProvider -
Constructor Summary
ConstructorsConstructorDescriptionDefaultUstraAuthenticationProcessor(UstraAuthenticationConfigurer<S, R> configurer, Class<R> authenticationClass) Provider Configurer와 Authentication Class를 받는다. -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(S authenticationRequestToken) 인증 요청 토큰으로 인증 정보를 생성한다.protected RcreateAnonymousAuthentication(R previousAuthentication) 요청 시의 익명 인증 객체를 생성한다.protected RcreateDefaultAuthentication(S authenticationRequestToken) 로그인 시의 기본 인증 객체를 생성한다.request(jakarta.servlet.http.HttpServletRequest request) 요청에 대해 인증 정보를 재생성unAuthenticate(R authentication) 인증 정보 해제Methods inherited from class com.gsitm.ustra.java.security.authentication.processor.UstraAuthenticationProcessor
awareApplicationContext, getAthenticationPropertiesProvider, getAuthenticationAuthorityChecker, getAuthenticationChecker, getAuthenticationClass, getAuthenticationKeyChecker, getAuthenticationListener, getAuthenticationProperties, getAuthenticationStore, getClientValidator, getConfigurer, getRequestTokenChecker, getUserDetailChecker, getUserDetailProvider, setApplicationContext, setConfigurer, supportsAuthentication, supportsRequest, supportsUnAuthentication
-
Constructor Details
-
DefaultUstraAuthenticationProcessor
public DefaultUstraAuthenticationProcessor(UstraAuthenticationConfigurer<S, R> configurer, Class<R> authenticationClass) Provider Configurer와 Authentication Class를 받는다.- Parameters:
configurer- Provider ConfigurerauthenticationClass- 익명 정보 클래스
-
-
Method Details
-
createDefaultAuthentication
로그인 시의 기본 인증 객체를 생성한다.- Parameters:
authenticationRequestToken-- Returns:
-
createAnonymousAuthentication
요청 시의 익명 인증 객체를 생성한다.- Parameters:
previousAuthentication- 기존 인증 객체- Returns:
-
authenticate
인증 요청 토큰으로 인증 정보를 생성한다.- Specified by:
authenticatein classUstraAuthenticationProcessor<S extends UstraAuthenticationRequestToken,R extends UstraAuthentication> - Returns:
- Throws:
UstraSecurityException
-
request
요청에 대해 인증 정보를 재생성- Specified by:
requestin classUstraAuthenticationProcessor<S extends UstraAuthenticationRequestToken,R extends UstraAuthentication> - Returns:
- Throws:
UstraSecurityException
-
unAuthenticate
인증 정보 해제- Specified by:
unAuthenticatein classUstraAuthenticationProcessor<S extends UstraAuthenticationRequestToken,R extends UstraAuthentication>
-