Class EncryptedUstraJwtAuthenticationParser
java.lang.Object
com.gsitm.ustra.java.security.jwt.authentication.parser.DefaultUstraJwtAuthenticationParser
com.gsitm.ustra.java.security.jwt.authentication.parser.EncryptedUstraJwtAuthenticationParser
- All Implemented Interfaces:
UstraJwtAuthenticationParser
UstraJwtAuthenticationParser 인터페이스의 기본 구현체
-
Nested Class Summary
Nested classes/interfaces inherited from class com.gsitm.ustra.java.security.jwt.authentication.parser.DefaultUstraJwtAuthenticationParser
DefaultUstraJwtAuthenticationParser.TokenCreationCondition -
Field Summary
Fields inherited from class com.gsitm.ustra.java.security.jwt.authentication.parser.DefaultUstraJwtAuthenticationParser
MAPPER -
Constructor Summary
ConstructorsConstructorDescriptionEncryptedUstraJwtAuthenticationParser(UstraJwtAuthenticationProperties jwtAuthenticationProperties, boolean supportJws) -
Method Summary
Modifier and TypeMethodDescriptioncreate(UstraJwtAuthentication authentication) 인증 정보에서 토큰을 생성createHeader(String authSysCd) 헤더를 생성한다.JWT 토큰을 생성토큰을 claim으로 파싱refresh(io.jsonwebtoken.JwsHeader<?> headers, io.jsonwebtoken.Claims claims) 토큰의 인증 시간을 갱신Methods inherited from class com.gsitm.ustra.java.security.jwt.authentication.parser.DefaultUstraJwtAuthenticationParser
getJwtAuthenticationProperties, isAuthenticatedToken, parse, parseHeader
-
Constructor Details
-
EncryptedUstraJwtAuthenticationParser
public EncryptedUstraJwtAuthenticationParser(UstraJwtAuthenticationProperties jwtAuthenticationProperties, boolean supportJws)
-
-
Method Details
-
createHeader
헤더를 생성한다.- Overrides:
createHeaderin classDefaultUstraJwtAuthenticationParser
-
create
Description copied from interface:UstraJwtAuthenticationParser인증 정보에서 토큰을 생성- Specified by:
createin interfaceUstraJwtAuthenticationParser- Overrides:
createin classDefaultUstraJwtAuthenticationParser- Returns:
-
refresh
Description copied from interface:UstraJwtAuthenticationParser토큰의 인증 시간을 갱신- Specified by:
refreshin interfaceUstraJwtAuthenticationParser- Overrides:
refreshin classDefaultUstraJwtAuthenticationParser- Returns:
-
parse
Description copied from interface:UstraJwtAuthenticationParser토큰을 claim으로 파싱- Specified by:
parsein interfaceUstraJwtAuthenticationParser- Overrides:
parsein classDefaultUstraJwtAuthenticationParser- Returns:
-
createJwtToken
public String createJwtToken(@Nonnull DefaultUstraJwtAuthenticationParser.TokenCreationCondition condition) JWT 토큰을 생성- Overrides:
createJwtTokenin classDefaultUstraJwtAuthenticationParser- Parameters:
condition-- Returns:
-