Uses of Interface
com.broadleafcommerce.auth.user.domain.OAuth2UserDetails
Package
Description
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.authorization.security.embedded.code
ModifierConstructorDescriptionEmbeddedLoginCodeAuthenticationToken
(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, OAuth2UserDetails userDetails, String clientId, String username, Set<String> requestedScopes, String purpose, Map<String, Object> additionalParameters) Constructor for post-authentication. -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.domain
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.endpoint
Modifier and TypeMethodDescriptionprotected AuthorizedClient
DefaultImpersonationRequestValidator.getImpersonatedClient
(OAuth2UserDetails impersonatedUser) void
DefaultImpersonationRequestValidator.validateUserImpersonation
(ImpersonationRequest impersonationRequest, OAuth2UserDetails impersonatedUser, String csrUserId) void
ImpersonationRequestValidator.validateUserImpersonation
(ImpersonationRequest impersonationRequest, OAuth2UserDetails impersonatedUser, String csrUserId) Validates that the user requested to be impersonated is able to be impersonated. -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.service
Modifier and TypeMethodDescriptionprotected OAuth2UserDetails
DefaultOAuth2UserDetailsService.buildUserDetails
(User user, String clientId, String serverId) protected OAuth2UserDetails
DefaultSessionAuthenticationStrategy.getOAuth2UserDetails
(@NonNull org.springframework.security.core.Authentication authentication) DefaultOAuth2UserDetailsService.loadAnonymousCsrUser
(String clientId) OAuth2UserDetailsService.loadAnonymousCsrUser
(String clientId) DefaultOAuth2UserDetailsService.loadCsrUser
(String clientId, String csrId) OAuth2UserDetailsService.loadCsrUser
(String clientId, String csrId) DefaultOAuth2UserDetailsService.loadUserByClientIdAndUsername
(String clientId, String username) OAuth2UserDetailsService.loadUserByClientIdAndUsername
(String clientId, String username) Modifier and TypeMethodDescriptionDefaultImpersonationClaimsEnhancer.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) ImpersonationClaimsEnhancer.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.ImpersonationClaimsEnhancerChain.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) DefaultImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken token, OAuth2UserDetails impersonatedUser) ImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser) Creates anOAuth2SessionToken
for the validatedImpersonationRequest
.protected void
DefaultSessionAuthenticationStrategy.setSessionCookie
(@NonNull jakarta.servlet.http.HttpServletResponse response, @NonNull OAuth2UserDetails oAuth2UserDetails) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.session
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.Authentication
OAuth2SessionAuthenticationProvider.createSuccessAuthentication
(OAuth2UserDetails user, OAuth2SessionToken sessionToken) protected Collection<org.springframework.security.core.GrantedAuthority>
OAuth2SessionAuthenticationProvider.getAuthorities
(OAuth2UserDetails user, OAuth2SessionToken sessionToken) protected void
OAuth2SessionAuthenticationProvider.validateUserDetails
(OAuth2UserDetails userDetails, String clientId, OAuth2SessionToken sessionToken) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.session.token.enhancer
Modifier and TypeMethodDescriptionprotected OAuth2UserDetails
UserRestrictionAccessTokenEnhancer.getUserDetails
(org.springframework.security.core.Authentication sessionToken) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.web.authentication.session
Modifier and TypeMethodDescriptionAbstractAuthenticationStrategyDelegate.getOAuth2UserDetails
(@NonNull org.springframework.security.core.Authentication authentication) Get the clientId and username from the token to load from the database.AuthenticationStrategyDelegate.getOAuth2UserDetails
(org.springframework.security.core.Authentication authentication) Map the Authentication token to an OAuth2UserDetailsFormLoginAuthenticationStrategyDelegate.getOAuth2UserDetails
(@NonNull org.springframework.security.core.Authentication authentication) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.web.endpoint
Modifier and TypeMethodDescriptionprotected OAuth2UserDetails
ImpersonationEndpoint.getCsrUser
(String clientId, String csrId) protected OAuth2UserDetails
ImpersonationEndpoint.getUserToImpersonate
(String clientId, String username) protected OAuth2UserDetails
ImpersonationEndpoint.loadAnonymousCsrUser
(String clientId) Modifier and TypeMethodDescriptionprotected void
ImpersonationEndpoint.addSessionCookie
(jakarta.servlet.http.HttpServletResponse response, ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)