Uses of Class
com.broadleafcommerce.auth.user.endpoint.ImpersonationRequest
Package
Description
-
Uses of ImpersonationRequest in com.broadleafcommerce.auth.user.endpoint
Modifier and TypeMethodDescriptionvoid
DefaultImpersonationRequestValidator.validateAnonymousImpersonation
(ImpersonationRequest impersonationRequest, String impersonatedClientId, String csrUserId) void
ImpersonationRequestValidator.validateAnonymousImpersonation
(ImpersonationRequest impersonationRequest, String impersonatedClientId, String csrUserId) Validates that the CSR can impersonate an anonymous user in the client.protected void
DefaultImpersonationRequestValidator.validateClientImpersonation
(ImpersonationRequest impersonationRequest, AuthorizedClient impersonatedClient, String csrUserId) void
DefaultImpersonationRequestValidator.validateImpersonationRequest
(ImpersonationRequest impersonationRequest, String authorizationUri, org.springframework.security.core.Authentication authentication) void
ImpersonationRequestValidator.validateImpersonationRequest
(ImpersonationRequest impersonationRequest, String authorizationUri, org.springframework.security.core.Authentication authentication) Validate that an impersonation request is valid.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 ImpersonationRequest in com.broadleafcommerce.auth.user.service
Modifier and TypeMethodDescriptionprotected String
DefaultImpersonationService.augmentRedirectUriForRefreshTokenRotationIfEnabled
(@NonNull ImpersonationRequest impersonationRequest) If refresh token rotation is enabled for the target client, then this method augments the requested redirect URI to include a parameter to indicate to the web client to redirect to login after the impersonation redirect succeeds.DefaultImpersonationService.buildImpersonationClaims
(ImpersonationRequest request, org.springframework.security.core.Authentication authentication) com.nimbusds.jwt.SignedJWT
DefaultImpersonationService.generateImpersonationToken
(ImpersonationRequest request, org.springframework.security.core.Authentication authentication) com.nimbusds.jwt.SignedJWT
ImpersonationService.generateImpersonationToken
(ImpersonationRequest request, org.springframework.security.core.Authentication authentication) Generates a JWT to be used during redirects when impersonating a user. -
Uses of ImpersonationRequest in com.broadleafcommerce.auth.user.web.endpoint
Modifier and TypeMethodDescriptionImpersonationEndpoint.impersonate
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ImpersonationRequest impersonationRequest, org.springframework.security.core.Authentication authentication) ImpersonationEndpoint.impersonateSelf
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ImpersonationRequest impersonationRequest, org.springframework.security.core.Authentication authentication)