Uses of Interface
com.broadleafcommerce.auth.user.session.OAuth2SessionToken
Package
Description
-
Uses of OAuth2SessionToken in com.broadleafcommerce.auth.user.service
Modifier and TypeMethodDescriptionDefaultImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken token, OAuth2UserDetails impersonatedUser) ImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser) Creates anOAuth2SessionToken
for the validatedImpersonationRequest
. -
Uses of OAuth2SessionToken in com.broadleafcommerce.auth.user.session
Modifier and TypeClassDescriptionclass
AnOAuth2SessionToken
that holds the claims within aHashMap
.Modifier and TypeMethodDescriptionStatelessUtil.getSessionToken
(String clientId, String userId, String subject, Map<String, Object> additionalClaims) Creates aOAuth2SessionToken
for the provided client ID and subject with the set of additional claims.StatelessUtilImpl.getSessionToken
(String clientId, String userId, String subject, Map<String, Object> additionalClaims) OAuth2SessionAuthenticationToken.getToken()
The JWT token from the BLSID-[client_id] session cookie.StatelessUtil.refreshSessionToken
(OAuth2SessionToken sessionToken) Returns aOAuth2SessionToken
with a refreshed expiration time.StatelessUtilImpl.refreshSessionToken
(OAuth2SessionToken sessionToken) Modifier and TypeMethodDescriptionjakarta.servlet.http.Cookie
StatelessUtil.createSessionCookie
(OAuth2SessionToken sessionToken) Deprecated.jakarta.servlet.http.Cookie
StatelessUtilImpl.createSessionCookie
(OAuth2SessionToken sessionToken) protected org.springframework.security.core.Authentication
OAuth2SessionAuthenticationProvider.createSuccessAuthentication
(OAuth2UserDetails user, OAuth2SessionToken sessionToken) protected Collection<org.springframework.security.core.GrantedAuthority>
OAuth2SessionAuthenticationProvider.getAuthorities
(OAuth2UserDetails user, OAuth2SessionToken sessionToken) org.springframework.http.ResponseCookie
StatelessUtil.getSessionCookie
(OAuth2SessionToken sessionToken) Gets aResponseCookie
for theOAuth2SessionToken
.org.springframework.http.ResponseCookie
StatelessUtilImpl.getSessionCookie
(OAuth2SessionToken sessionToken) StatelessUtil.refreshSessionToken
(OAuth2SessionToken sessionToken) Returns aOAuth2SessionToken
with a refreshed expiration time.StatelessUtilImpl.refreshSessionToken
(OAuth2SessionToken sessionToken) protected void
OAuth2SessionAuthenticationProvider.validateUserDetails
(OAuth2UserDetails userDetails, String clientId, OAuth2SessionToken sessionToken) ModifierConstructorDescriptionDefaultOAuth2SessionToken
(OAuth2SessionToken sessionToken) Copy constructor for session token.OAuth2SessionAuthenticationToken
(OAuth2SessionToken sessionToken, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) This constructor should only be used byAuthenticationManager
orAuthenticationProvider
implementations that are satisfied with producing a trusted (i.e.OAuth2SessionAuthenticationToken
(OAuth2SessionToken sessionToken, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, Object principal) This constructor should only be used byAuthenticationManager
orAuthenticationProvider
implementations that are satisfied with producing a trusted (i.e. -
Uses of OAuth2SessionToken in com.broadleafcommerce.auth.user.session.token.enhancer
Modifier and TypeMethodDescriptionprotected Optional<OAuth2SessionToken>
AbstractUserAccessTokenEnhancer.getSessionToken
(org.springframework.security.core.Authentication userPrincipal) Get thesession token
from theauthentication token
.
StatelessUtil.getSessionCookie(OAuth2SessionToken)