Class 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 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 factory
        userPermissionRepository - the repository for persisting permissions
        scopeRepository - the repository for persisting scopes
        permissionScopeRepository - the repository for persisting permission scope relationships