Uses of Interface
com.broadleafcommerce.auth.user.domain.OAuth2UserDetails
-
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.domain
Classes in com.broadleafcommerce.auth.user.domain that implement OAuth2UserDetails Modifier and Type Class Description class
DefaultOAuth2UserDetails
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.endpoint
Methods in com.broadleafcommerce.auth.user.endpoint with parameters of type OAuth2UserDetails Modifier and Type Method Description protected 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 OAuth2UserDetails Modifier and Type Method Description protected OAuth2UserDetails
DefaultOAuth2UserDetailsService. buildUserDetails(User user, String clientId, String serverId)
protected OAuth2UserDetails
DefaultSessionAuthenticationStrategy. getOAuth2UserDetails(@NonNull org.springframework.security.core.Authentication authentication)
OAuth2UserDetails
DefaultOAuth2UserDetailsService. loadAnonymousCsrUser(String clientId)
OAuth2UserDetails
OAuth2UserDetailsService. loadAnonymousCsrUser(String clientId)
OAuth2UserDetails
DefaultOAuth2UserDetailsService. loadUserByClientIdAndUsername(String clientId, String username)
OAuth2UserDetails
OAuth2UserDetailsService. loadUserByClientIdAndUsername(String clientId, String username)
Methods in com.broadleafcommerce.auth.user.service with parameters of type OAuth2UserDetails Modifier and Type Method Description Map<String,Object>
DefaultImpersonationClaimsEnhancer. enhance(Map<String,Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken)
Map<String,Object>
ImpersonationClaimsEnhancer. enhance(Map<String,Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken)
Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.Map<String,Object>
ImpersonationClaimsEnhancerChain. enhance(Map<String,Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken)
OAuth2SessionToken
DefaultImpersonationService. getImpersonationSessionToken(ImpersonationRequestToken token, OAuth2UserDetails impersonatedUser)
OAuth2SessionToken
ImpersonationService. getImpersonationSessionToken(ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)
Creates anOAuth2SessionToken
for the validatedImpersonationRequest
.protected void
DefaultSessionAuthenticationStrategy. setSessionCookie(@NonNull javax.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 OAuth2UserDetails Modifier and Type Method Description 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)
protected void
OAuth2SessionAuthenticationProvider. validateUserDetails(OAuth2UserDetails userDetails, String clientId, OAuth2SessionToken sessionToken)
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.session.embedded
Methods in com.broadleafcommerce.auth.user.session.embedded with parameters of type OAuth2UserDetails Modifier and Type Method Description protected EmbeddedLoginTokenEndpointAuthenticationToken
EmbeddedLoginTokenAuthenticationProvider. buildEmbeddedLoginTokenEndpointAuthenticationToken(OAuth2UserDetails userDetails, String clientId, String username, String scope, String code, String purpose)
protected org.springframework.security.oauth2.provider.OAuth2Request
EmbeddedLoginTokenAuthenticationProvider. buildOAuth2Request(String clientId, OAuth2UserDetails userDetails, String scope)
Build a syntheticOAuth2Request
. -
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.session.token.enhancer
Methods in com.broadleafcommerce.auth.user.session.token.enhancer that return OAuth2UserDetails Modifier and Type Method Description protected OAuth2UserDetails
UserRestrictionTokenEnhancer. getUserDetails(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
-
Uses of OAuth2UserDetails in com.broadleafcommerce.auth.user.web.authentication.session
Methods in com.broadleafcommerce.auth.user.web.authentication.session that return OAuth2UserDetails Modifier and Type Method Description OAuth2UserDetails
AbstractAuthenticationStrategyDelegate. getOAuth2UserDetails(@NonNull org.springframework.security.core.Authentication authentication)
Get the clientId and username from the token to load from the database.OAuth2UserDetails
AuthenticationStrategyDelegate. getOAuth2UserDetails(org.springframework.security.core.Authentication authentication)
Map the Authentication token to an OAuth2UserDetailsOAuth2UserDetails
FormLoginAuthenticationStrategyDelegate. 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 OAuth2UserDetails Modifier and Type Method Description 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 OAuth2UserDetails Modifier and Type Method Description protected void
ImpersonationEndpoint. addSessionCookie(javax.servlet.http.HttpServletResponse response, ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)
-