use of org.springframework.security.acls.domain.DefaultPermissionFactory in project spring-security by spring-projects.
the class AbstractBasicLookupStrategyTests method initializeBeans.
@BeforeEach
public void initializeBeans() {
this.strategy = new BasicLookupStrategy(getDataSource(), aclCache(), aclAuthStrategy(), new DefaultPermissionGrantingStrategy(new ConsoleAuditLogger()));
this.strategy.setPermissionFactory(new DefaultPermissionFactory());
}
use of org.springframework.security.acls.domain.DefaultPermissionFactory in project spring-security by spring-projects.
the class BasicLookupStrategyWithAclClassTypeTests method initializeBeans.
@Override
@BeforeEach
public void initializeBeans() {
super.initializeBeans();
this.uuidEnabledStrategy = new BasicLookupStrategy(getDataSource(), aclCache(), aclAuthStrategy(), new DefaultPermissionGrantingStrategy(new ConsoleAuditLogger()));
this.uuidEnabledStrategy.setPermissionFactory(new DefaultPermissionFactory());
this.uuidEnabledStrategy.setAclClassIdSupported(true);
this.uuidEnabledStrategy.setConversionService(new DefaultConversionService());
}
Aggregations