Class OAuth2UserDetailsAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.user.autoconfigure.OAuth2UserDetailsAutoConfiguration
-
@Configuration public class OAuth2UserDetailsAutoConfiguration extends Object
Configures theDefaultOAuth2UserDetailsService
which is used for loadingOAuth2UserDetails
by clientId and username.- Author:
- Phillip Verheyden (phillipuniverse), Nick Crum (ncrum)
-
-
Constructor Summary
Constructors Constructor Description OAuth2UserDetailsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2UserDetailsService
oAuth2UserDetailsService(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, PrivilegeService privilegeService)
org.springframework.security.crypto.password.PasswordEncoder
passwordEncoder()
-
-
-
Method Detail
-
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()
-
-