Class OAuth2UserDetailsAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.user.autoconfigure.OAuth2UserDetailsAutoConfiguration
Configures the
DefaultOAuth2UserDetailsService
which is used for loading
OAuth2UserDetails
by clientId and username.- Author:
- Phillip Verheyden (phillipuniverse), Nick Crum (ncrum)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoAuth2UserDetailsService
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, PrivilegeService privilegeService) org.springframework.security.crypto.password.PasswordEncoder
-
Constructor Details
-
OAuth2UserDetailsAutoConfiguration
public OAuth2UserDetailsAutoConfiguration()
-
-
Method Details
-
oAuth2UserDetailsService
@Bean @ConditionalOnMissingBean public OAuth2UserDetailsService oAuth2UserDetailsService(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, PrivilegeService privilegeService) -
passwordEncoder
@Bean @ConditionalOnMissingBean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
-