Class JpaOAuth2AuthorizationAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.authorization.provider.jpa.autoconfigure.JpaOAuth2AuthorizationAutoConfiguration
@AutoConfiguration
@EntityScan(basePackageClasses=JpaOAuth2Authorization.class)
@EnableJpaRepositories(basePackageClasses=JpaOAuth2AuthorizationRepository.class)
public class JpaOAuth2AuthorizationAutoConfiguration
extends Object
Setup components for dealing with
OAuth2Authorization
JPA persistence.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjpaOAuth2AuthorizationRepositoryImpl
(org.springframework.jdbc.core.JdbcTemplate template, TokenProperties properties, JpaOAuth2AuthorizationHashValueProvider hashValueProvider)
-
Constructor Details
-
JpaOAuth2AuthorizationAutoConfiguration
public JpaOAuth2AuthorizationAutoConfiguration()
-
-
Method Details
-
jpaOAuth2AuthorizationRepositoryImpl
@Bean @ConditionalOnMissingBean public CustomizedOAuth2AuthorizationRepository<JpaOAuth2Authorization> jpaOAuth2AuthorizationRepositoryImpl(org.springframework.jdbc.core.JdbcTemplate template, TokenProperties properties, JpaOAuth2AuthorizationHashValueProvider hashValueProvider) -
jpaOAuth2AuthorizationHashValueProvider
@Bean @ConditionalOnMissingBean(JpaOAuth2AuthorizationHashValueProvider.class) public SHA512DigestHexJpaOAuth2AuthorizationHashValueProvider jpaOAuth2AuthorizationHashValueProvider()
-