Class AuthorizationServerDataInitializerAutoConfiguration.PermissionConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.data.autoconfigure.AuthorizationServerDataInitializerAutoConfiguration.PermissionConfiguration
-
- Enclosing class:
- AuthorizationServerDataInitializerAutoConfiguration
@Configuration @ConditionalOnProperty(value="broadleaf.auth.data.load.default-permissions", havingValue="true", matchIfMissing=true) public static class AuthorizationServerDataInitializerAutoConfiguration.PermissionConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description PermissionConfiguration(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserPermissionRepository<JpaUserPermission> userPermissionRepository, ScopeRepository scopeRepository, PermissionRepository permissionScopeRepository)
Initializes the seed data for the permissions and scopes.
-
-
-
Constructor Detail
-
PermissionConfiguration
public PermissionConfiguration(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserPermissionRepository<JpaUserPermission> userPermissionRepository, ScopeRepository scopeRepository, PermissionRepository permissionScopeRepository)
Initializes the seed data for the permissions and scopes.- Parameters:
typeFactory
- the type factoryuserPermissionRepository
- the repository for persisting permissionsscopeRepository
- the repository for persisting scopespermissionScopeRepository
- the repository for persisting permission scope relationships
-
-