Class AuthServiceJpaAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.autoconfigure.AuthServiceJpaAutoConfiguration
@Configuration
@EntityScan(basePackageClasses={JpaUserRole.class,JpaUser.class})
@EnableJpaRepositories(basePackageClasses={PermissionRepository.class,JpaRoleRepository.class})
@BeanAlias(name="dataSource",
alias="authDataSource")
public class AuthServiceJpaAutoConfiguration
extends Object
- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjpaRoleRepositoryImpl
(com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository) jpaUserPermissionRepositoryImpl
(com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository)
-
Constructor Details
-
AuthServiceJpaAutoConfiguration
public AuthServiceJpaAutoConfiguration()
-
-
Method Details
-
jpaRoleRepositoryImpl
@Bean @ConditionalOnMissingBean public CustomizedRoleRepository<JpaUserRole> jpaRoleRepositoryImpl(com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository) -
jpaUserPermissionRepositoryImpl
@Bean @ConditionalOnMissingBean public CustomizedUserPermissionRepository<JpaUserPermission> jpaUserPermissionRepositoryImpl(com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository)
-