Package org.marvelution.jji.security
Class SyncTokenSecurityContext
java.lang.Object
org.marvelution.jji.security.SyncTokenSecurityContext
- All Implemented Interfaces:
Serializable
,org.springframework.security.core.context.SecurityContext
public class SyncTokenSecurityContext
extends Object
implements org.springframework.security.core.context.SecurityContext
- See Also:
-
Constructor Summary
ConstructorDescriptionSyncTokenSecurityContext
(com.nimbusds.jwt.JWTClaimsSet claimsSet, JiraSite site) -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncTokenSecurityContext
checkSyncTokenAuthentication
(jakarta.servlet.http.HttpServletRequest request) org.springframework.security.core.Authentication
com.nimbusds.jwt.JWTClaimsSet
getSite()
void
setAuthentication
(org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
SyncTokenSecurityContext
-
-
Method Details
-
checkSyncTokenAuthentication
public static SyncTokenSecurityContext checkSyncTokenAuthentication(jakarta.servlet.http.HttpServletRequest request) -
getAuthentication
public org.springframework.security.core.Authentication getAuthentication()- Specified by:
getAuthentication
in interfaceorg.springframework.security.core.context.SecurityContext
-
setAuthentication
public void setAuthentication(org.springframework.security.core.Authentication authentication) - Specified by:
setAuthentication
in interfaceorg.springframework.security.core.context.SecurityContext
-
getClaimsSet
public com.nimbusds.jwt.JWTClaimsSet getClaimsSet() -
getSite
-