Uses of Interface
com.broadleafcommerce.auth.user.domain.OAuth2UserDetails
Packages that use OAuth2UserDetails
Package
Description
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.authorization.security.embedded.code
Methods in com.broadleafcommerce.auth.authorization.security.embedded.code that return OAuth2UserDetailsConstructors in com.broadleafcommerce.auth.authorization.security.embedded.code with parameters of type OAuth2UserDetailsModifierConstructorDescriptionEmbeddedLoginCodeAuthenticationToken
(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
Classes in com.broadleafcommerce.auth.user.domain that implement OAuth2UserDetails -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.endpoint
Methods in com.broadleafcommerce.auth.user.endpoint with parameters of type OAuth2UserDetailsModifier 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
Methods in com.broadleafcommerce.auth.user.service that return OAuth2UserDetailsModifier 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) Methods in com.broadleafcommerce.auth.user.service with parameters of type OAuth2UserDetailsModifier 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
Methods in com.broadleafcommerce.auth.user.session with parameters of type OAuth2UserDetailsModifier 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
Methods in com.broadleafcommerce.auth.user.session.token.enhancer that return OAuth2UserDetailsModifier and TypeMethodDescriptionprotected OAuth2UserDetails
UserRestrictionAccessTokenEnhancer.getUserDetails
(org.springframework.security.core.Authentication sessionToken) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.web.authentication.session
Methods in com.broadleafcommerce.auth.user.web.authentication.session that return OAuth2UserDetailsModifier 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
Methods in com.broadleafcommerce.auth.user.web.endpoint that return OAuth2UserDetailsModifier and TypeMethodDescriptionprotected OAuth2UserDetails
ImpersonationEndpoint.getCsrUser
(String clientId, String csrId) protected OAuth2UserDetails
ImpersonationEndpoint.getUserToImpersonate
(String clientId, String username) protected OAuth2UserDetails
ImpersonationEndpoint.loadAnonymousCsrUser
(String clientId) Methods in com.broadleafcommerce.auth.user.web.endpoint with parameters of type OAuth2UserDetailsModifier and TypeMethodDescriptionprotected void
ImpersonationEndpoint.addSessionCookie
(jakarta.servlet.http.HttpServletResponse response, ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)