org.springframework.security.acls.jdbc.LookupStrategy Java Examples
The following examples show how to use
org.springframework.security.acls.jdbc.LookupStrategy.
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: AclConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public LookupStrategy lookupStrategy(){ return new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), consoleAuditLogger()); }
Example #2
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public LookupStrategy lookupStrategy(){ BasicLookupStrategy ls = new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), consoleAuditLogger()); ls.setPermissionFactory(permissionFactory()); return ls; }
Example #3
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public LookupStrategy lookupStrategy(){ return new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), consoleAuditLogger()); }
Example #4
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public LookupStrategy lookupStrategy(){ BasicLookupStrategy ls = new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), consoleAuditLogger()); ls.setPermissionFactory(permissionFactory()); return ls; }
Example #5
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public LookupStrategy lookupStrategy(){ BasicLookupStrategy ls = new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), consoleAuditLogger()); ls.setPermissionFactory(permissionFactory()); return ls; }
Example #6
Source File: AclConfig.java From molgenis with GNU Lesser General Public License v3.0 | 5 votes |
@Bean public LookupStrategy lookupStrategy() { BasicLookupStrategy basicLookupStrategy = new BasicLookupStrategy( dataSource, aclCache(), aclAuthorizationStrategy(), permissionGrantingStrategy()); basicLookupStrategy.setAclClassIdSupported(true); basicLookupStrategy.setConversionService(conversionService); return basicLookupStrategy; }
Example #7
Source File: TransactionalJdbcMutableAclService.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
public TransactionalJdbcMutableAclService( DataSource dataSource, LookupStrategy lookupStrategy, AclCache aclCache) { super(dataSource, lookupStrategy, aclCache); this.aclCache = requireNonNull(aclCache); }
Example #8
Source File: ACLContext.java From tutorials with MIT License | 4 votes |
@Bean public LookupStrategy lookupStrategy() { return new BasicLookupStrategy(dataSource, aclCache(), aclAuthorizationStrategy(), new ConsoleAuditLogger()); }