org.springframework.security.acls.model.MutableAclService Java Examples
The following examples show how to use
org.springframework.security.acls.model.MutableAclService.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EntityTypeRepositoryDecoratorFactory.java From molgenis with GNU Lesser General Public License v3.0 | 6 votes |
public EntityTypeRepositoryDecoratorFactory( DataService dataService, EntityTypeMetadata entityTypeMetadata, SystemEntityTypeRegistry systemEntityTypeRegistry, UserPermissionEvaluator permissionService, EntityTypeValidator entityTypeValidator, EntityTypeDependencyResolver entityTypeDependencyResolver, MutableAclService mutableAclService, MutableAclClassService mutableAclClassService) { super(entityTypeMetadata); this.dataService = requireNonNull(dataService); this.systemEntityTypeRegistry = requireNonNull(systemEntityTypeRegistry); this.permissionService = requireNonNull(permissionService); this.entityTypeValidator = requireNonNull(entityTypeValidator); this.entityTypeDependencyResolver = requireNonNull(entityTypeDependencyResolver); this.mutableAclService = requireNonNull(mutableAclService); this.mutableAclClassService = requireNonNull(mutableAclClassService); }
Example #2
Source File: GroupPackageServiceImpl.java From molgenis with GNU Lesser General Public License v3.0 | 6 votes |
GroupPackageServiceImpl( GroupValueFactory groupValueFactory, RoleMembershipService roleMembershipService, GroupPermissionService groupPermissionService, RoleFactory roleFactory, DataService dataService, GroupFactory groupFactory, MutableAclService mutableAclService) { this.groupValueFactory = requireNonNull(groupValueFactory); this.roleMembershipService = requireNonNull(roleMembershipService); this.groupPermissionService = requireNonNull(groupPermissionService); this.roleFactory = requireNonNull(roleFactory); this.dataService = requireNonNull(dataService); this.groupFactory = requireNonNull(groupFactory); this.mutableAclService = requireNonNull(mutableAclService); }
Example #3
Source File: PermissionsConfig.java From molgenis with GNU Lesser General Public License v3.0 | 6 votes |
PermissionsConfig( MutableAclService mutableAclService, PermissionInheritanceResolver inheritanceResolver, ObjectIdentityService objectIdentityService, DataService dataService, MutableAclClassService mutableAclClassService, UserRoleTools userRoleTools, EntityHelper entityHelper, UserPermissionEvaluator userPermissionEvaluator) { this.mutableAclService = requireNonNull(mutableAclService); this.inheritanceResolver = requireNonNull(inheritanceResolver); this.objectIdentityService = requireNonNull(objectIdentityService); this.dataService = requireNonNull(dataService); this.mutableAclClassService = requireNonNull(mutableAclClassService); this.userRoleTools = requireNonNull(userRoleTools); this.entityHelper = requireNonNull(entityHelper); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); }
Example #4
Source File: PermissionServiceImpl.java From molgenis with GNU Lesser General Public License v3.0 | 6 votes |
public PermissionServiceImpl( MutableAclService mutableAclService, PermissionInheritanceResolver inheritanceResolver, ObjectIdentityService objectIdentityService, DataService dataService, MutableAclClassService mutableAclClassService, UserRoleTools userRoleTools, EntityHelper entityHelper, UserPermissionEvaluator userPermissionEvaluator) { this.mutableAclService = requireNonNull(mutableAclService); this.inheritanceResolver = requireNonNull(inheritanceResolver); this.objectIdentityService = requireNonNull(objectIdentityService); this.dataService = requireNonNull(dataService); this.mutableAclClassService = requireNonNull(mutableAclClassService); this.userRoleTools = requireNonNull(userRoleTools); this.entityHelper = requireNonNull(entityHelper); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); }
Example #5
Source File: PermissionManagerController.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
public PermissionManagerController( DataService dataService, MutableAclService mutableAclService, MutableAclClassService mutableAclClassService, SystemEntityTypeRegistry systemEntityTypeRegistry, PermissionRegistry permissionRegistry) { super(URI); this.dataService = requireNonNull(dataService); this.mutableAclService = requireNonNull(mutableAclService); this.mutableAclClassService = requireNonNull(mutableAclClassService); this.systemEntityTypeRegistry = requireNonNull(systemEntityTypeRegistry); this.permissionRegistry = requireNonNull(permissionRegistry); }
Example #6
Source File: PackageRepositoryDecoratorFactory.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
public PackageRepositoryDecoratorFactory( PackageMetadata packageMetadata, DataService dataService, PackageValidator packageValidator, MutableAclService mutableAclService, UserPermissionEvaluator userPermissionEvaluator, GroupPackageService groupPackageService) { super(packageMetadata); this.dataService = requireNonNull(dataService); this.packageValidator = requireNonNull(packageValidator); this.mutableAclService = requireNonNull(mutableAclService); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); this.groupPackageService = requireNonNull(groupPackageService); }
Example #7
Source File: PermissionServiceDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
public PermissionServiceDecorator( PermissionService permissionService, EntityHelper entityHelper, UserRoleTools userRoleTools, MutableAclService mutableAclService, MutableAclClassService mutableAclClassService, UserPermissionEvaluator userPermissionEvaluator) { this.permissionService = requireNonNull(permissionService); this.userRoleTools = requireNonNull(userRoleTools); this.mutableAclService = requireNonNull(mutableAclService); this.mutableAclClassService = requireNonNull(mutableAclClassService); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); this.entityHelper = requireNonNull(entityHelper); }
Example #8
Source File: PackageRepositorySecurityDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
public PackageRepositorySecurityDecorator( Repository<Package> delegateRepository, MutableAclService mutableAclService, UserPermissionEvaluator userPermissionEvaluator) { super(delegateRepository, mutableAclService); this.mutableAclService = requireNonNull(mutableAclService); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); }
Example #9
Source File: EntityTypeRepositorySecurityDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
public EntityTypeRepositorySecurityDecorator( Repository<EntityType> delegateRepository, SystemEntityTypeRegistry systemEntityTypeRegistry, UserPermissionEvaluator userPermissionEvaluator, MutableAclService mutableAclService, MutableAclClassService mutableAclClassService, DataService dataService) { super(delegateRepository, mutableAclService); this.systemEntityTypeRegistry = requireNonNull(systemEntityTypeRegistry); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); this.mutableAclService = requireNonNull(mutableAclService); this.mutableAclClassService = requireNonNull(mutableAclClassService); this.dataService = requireNonNull(dataService); }
Example #10
Source File: DefaultCalendarService.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Autowired public DefaultCalendarService(final EventDao eventDao, final CalendarUserDao userDao, final CalendarUserRepository userRepository, final PasswordEncoder passwordEncoder, final MutableAclService aclService, final UserContext userContext) { if (eventDao == null) { throw new IllegalArgumentException("eventDao cannot be null"); } if (userDao == null) { throw new IllegalArgumentException("userDao cannot be null"); } if (userRepository == null) { throw new IllegalArgumentException("userRepository cannot be null"); } if (passwordEncoder == null) { throw new IllegalArgumentException("passwordEncoder cannot be null"); } this.eventDao = eventDao; this.userDao = userDao; this.passwordEncoder = passwordEncoder; this.aclService = aclService; this.userContext = userContext; }
Example #11
Source File: RowLevelSecurityRepositoryDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
RowLevelSecurityRepositoryDecorator( Repository<Entity> delegateRepository, UserPermissionEvaluator userPermissionEvaluator, MutableAclService mutableAclService) { super(delegateRepository, mutableAclService); this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); this.mutableAclService = requireNonNull(mutableAclService); }
Example #12
Source File: RowLevelSecurityRepositoryDecoratorFactory.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
RowLevelSecurityRepositoryDecoratorFactory( UserPermissionEvaluator userPermissionEvaluator, MutableAclService mutableAclService, MutableAclClassService mutableAclClassService) { this.userPermissionEvaluator = requireNonNull(userPermissionEvaluator); this.mutableAclService = requireNonNull(mutableAclService); this.mutableAclClassService = requireNonNull(mutableAclClassService); }
Example #13
Source File: OwnershipDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
OwnershipDecorator( Repository<Entity> delegateRepository, MutableAclService mutableAclService, String ownerAttributeName) { super(delegateRepository); this.mutableAclService = requireNonNull(mutableAclService); this.ownerAttributeName = requireNonNull(ownerAttributeName); }
Example #14
Source File: GroupPermissionService.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public GroupPermissionService(MutableAclService aclService, PermissionService permissionService) { this.aclService = Objects.requireNonNull(aclService); this.permissionService = Objects.requireNonNull(permissionService); }
Example #15
Source File: PermissionManagerControllerTest.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
@Bean MutableAclService mutableAclService() { return mutableAclService; }
Example #16
Source File: AbstractRowLevelSecurityRepositoryDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public AbstractRowLevelSecurityRepositoryDecorator( Repository<E> delegateRepository, MutableAclService mutableAclService) { super(delegateRepository); this.mutableAclService = requireNonNull(mutableAclService); }
Example #17
Source File: OwnershipDecoratorFactory.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public OwnershipDecoratorFactory(Gson gson, MutableAclService mutableAclService) { this.gson = requireNonNull(gson); this.mutableAclService = requireNonNull(mutableAclService); }
Example #18
Source File: PermissionSystemServiceImpl.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public PermissionSystemServiceImpl(MutableAclService mutableAclService) { this.mutableAclService = requireNonNull(mutableAclService); }
Example #19
Source File: PluginRepositoryDecoratorFactory.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public PluginRepositoryDecoratorFactory( PluginMetadata pluginMetadata, MutableAclService mutableAclService, AppSettings appSettings) { super(pluginMetadata); this.mutableAclService = requireNonNull(mutableAclService); this.appSettings = requireNonNull(appSettings); }
Example #20
Source File: PluginSecurityRepositoryDecorator.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
PluginSecurityRepositoryDecorator( Repository<Plugin> delegateRepository, MutableAclService mutableAclService) { super(delegateRepository); this.mutableAclService = mutableAclService; }
Example #21
Source File: SecurityACLDAO.java From spring-data-rest-acl with Apache License 2.0 | 4 votes |
public void setMutableAclService(MutableAclService mutableAclService) { this.mutableAclService = mutableAclService; }
Example #22
Source File: SecurityACLDAO.java From spring-data-rest-acl with Apache License 2.0 | 4 votes |
public MutableAclService getMutableAclService() { return mutableAclService; }