Uses of Interface
com.broadleafcommerce.auth.user.session.OAuth2SessionToken
-
Packages that use OAuth2SessionToken Package Description com.broadleafcommerce.auth.user.service com.broadleafcommerce.auth.user.session com.broadleafcommerce.auth.user.session.token.enhancer -
-
Uses of OAuth2SessionToken in com.broadleafcommerce.auth.user.service
Methods in com.broadleafcommerce.auth.user.service that return OAuth2SessionToken Modifier and Type Method Description OAuth2SessionToken
DefaultImpersonationService. getImpersonationSessionToken(ImpersonationRequestToken token, OAuth2UserDetails impersonatedUser)
OAuth2SessionToken
ImpersonationService. getImpersonationSessionToken(ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)
Creates anOAuth2SessionToken
for the validatedImpersonationRequest
. -
Uses of OAuth2SessionToken in com.broadleafcommerce.auth.user.session
Classes in com.broadleafcommerce.auth.user.session that implement OAuth2SessionToken Modifier and Type Class Description class
DefaultOAuth2SessionToken
AnOAuth2SessionToken
that holds the claims within aHashMap
.Methods in com.broadleafcommerce.auth.user.session that return OAuth2SessionToken Modifier and Type Method Description OAuth2SessionToken
StatelessUtil. 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.OAuth2SessionToken
StatelessUtilImpl. getSessionToken(String clientId, String userId, String subject, Map<String,Object> additionalClaims)
OAuth2SessionToken
OAuth2SessionAuthenticationToken. getToken()
The JWT token from the BLSID-[client_id] session cookie.OAuth2SessionToken
StatelessUtil. refreshSessionToken(OAuth2SessionToken sessionToken)
Returns aOAuth2SessionToken
with a refreshed expiration time.OAuth2SessionToken
StatelessUtilImpl. refreshSessionToken(OAuth2SessionToken sessionToken)
Methods in com.broadleafcommerce.auth.user.session with parameters of type OAuth2SessionToken Modifier and Type Method Description javax.servlet.http.Cookie
StatelessUtil. createSessionCookie(OAuth2SessionToken sessionToken)
Deprecated.javax.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)
OAuth2SessionToken
StatelessUtil. refreshSessionToken(OAuth2SessionToken sessionToken)
Returns aOAuth2SessionToken
with a refreshed expiration time.OAuth2SessionToken
StatelessUtilImpl. refreshSessionToken(OAuth2SessionToken sessionToken)
protected void
OAuth2SessionAuthenticationProvider. validateUserDetails(OAuth2UserDetails userDetails, String clientId, OAuth2SessionToken sessionToken)
Constructors in com.broadleafcommerce.auth.user.session with parameters of type OAuth2SessionToken Constructor Description DefaultOAuth2SessionToken(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
Methods in com.broadleafcommerce.auth.user.session.token.enhancer that return OAuth2SessionToken Modifier and Type Method Description static OAuth2SessionToken
TokenEnhancerUtil. getSessionToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
Returns the SessionToken associated with the OAuth2Authentication supplied
-