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.authorization.security.rememberme.service
Methods in com.broadleafcommerce.auth.authorization.security.rememberme.service that return OAuth2UserDetailsModifier and TypeMethodDescriptionRememberMeLoginAuthenticationStrategyDelegate.getOAuth2UserDetails(org.springframework.security.core.Authentication authentication, AuthorizedClient client) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.resource.service
Methods in com.broadleafcommerce.auth.resource.service that return OAuth2UserDetailsModifier and TypeMethodDescriptionprotected OAuth2UserDetailsDefaultUserOperationService.loadUserDetails(String clientId) This is a flexible method that can load theOAuth2UserDetailsfor the currently authenticated user both in the session-token-authentication case and the bearer-token-authentication case. -
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 AuthorizedClientDefaultImpersonationRequestValidator.getImpersonatedClient(OAuth2UserDetails impersonatedUser) voidDefaultImpersonationRequestValidator.validateUserImpersonation(ImpersonationRequest impersonationRequest, OAuth2UserDetails impersonatedUser, String csrUserId) voidImpersonationRequestValidator.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 OAuth2UserDetailsDefaultOAuth2UserDetailsService.buildUserDetails(User user, String clientId, String serverId) protected OAuth2UserDetailsDefaultSessionAuthenticationStrategy.getOAuth2UserDetails(@NonNull AuthenticationStrategyDelegate delegate, @NonNull org.springframework.security.core.Authentication authentication, AuthorizedClient client) DefaultOAuth2UserDetailsService.loadAnonymousCsrUser(String clientId) OAuth2UserDetailsService.loadAnonymousCsrUser(String clientId) DefaultOAuth2UserDetailsService.loadByClientAndUsername(AuthorizedClient client, String username) OAuth2UserDetailsService.loadByClientAndUsername(AuthorizedClient client, String username) protected OAuth2UserDetailsDefaultOAuth2UserDetailsService.loadByUsernameClientServer(String username, String clientId, String serverId) 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 anOAuth2SessionTokenfor the validatedImpersonationRequest.protected voidDefaultSessionAuthenticationStrategy.populateThirdPartyLoginClaimsIfApplicable(@NonNull AuthenticationStrategyDelegate delegate, @NonNull org.springframework.security.core.Authentication authentication, AuthorizedClient authorizedClient, @NonNull OAuth2UserDetails oAuth2UserDetails, Map<String, Object> destinationClaimsMap) If this is a session token issued after successful third party login, set additional claims on the session token.protected voidDefaultSessionAuthenticationStrategy.setSessionCookie(@NonNull jakarta.servlet.http.HttpServletResponse response, @NonNull AuthenticationStrategyDelegate delegate, @NonNull org.springframework.security.core.Authentication authentication, AuthorizedClient authorizedClient, @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.AuthenticationOAuth2SessionAuthenticationProvider.createSuccessAuthentication(OAuth2UserDetails user, OAuth2SessionToken sessionToken) protected Collection<org.springframework.security.core.GrantedAuthority>OAuth2SessionAuthenticationProvider.getAuthorities(OAuth2UserDetails user, OAuth2SessionToken sessionToken) protected voidOAuth2SessionAuthenticationProvider.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 OAuth2UserDetailsUserRestrictionAccessTokenEnhancer.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(org.springframework.security.core.Authentication authentication, AuthorizedClient client) Get the clientId and username from the token to load from the database.default OAuth2UserDetailsAuthenticationStrategyDelegate.getOAuth2UserDetails(org.springframework.security.core.Authentication authentication) Deprecated.AuthenticationStrategyDelegate.getOAuth2UserDetails(org.springframework.security.core.Authentication authentication, AuthorizedClient client) Map the Authentication token to an OAuth2UserDetailsFormLoginAuthenticationStrategyDelegate.getOAuth2UserDetails(org.springframework.security.core.Authentication authentication, AuthorizedClient client) -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.web.endpoint
Methods in com.broadleafcommerce.auth.user.web.endpoint that return OAuth2UserDetailsModifier and TypeMethodDescriptionprotected OAuth2UserDetailsImpersonationEndpoint.getCsrUser(String clientId, String csrId) protected OAuth2UserDetailsImpersonationEndpoint.getUserToImpersonate(String clientId, String username) protected OAuth2UserDetailsImpersonationEndpoint.loadAnonymousCsrUser(String clientId) Methods in com.broadleafcommerce.auth.user.web.endpoint with parameters of type OAuth2UserDetailsModifier and TypeMethodDescriptionprotected voidImpersonationEndpoint.addSessionCookie(jakarta.servlet.http.HttpServletResponse response, ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)
AuthenticationStrategyDelegate.getOAuth2UserDetails(Authentication, AuthorizedClient)