org.springframework.security.acls.jdbc.BasicLookupStrategy Java Examples

The following examples show how to use org.springframework.security.acls.jdbc.BasicLookupStrategy. 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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@Bean
public LookupStrategy lookupStrategy() {
  BasicLookupStrategy basicLookupStrategy =
      new BasicLookupStrategy(
          dataSource, aclCache(), aclAuthorizationStrategy(), permissionGrantingStrategy());
  basicLookupStrategy.setAclClassIdSupported(true);
  basicLookupStrategy.setConversionService(conversionService);
  return basicLookupStrategy;
}
 
Example #7
Source File: ACLContext.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
public LookupStrategy lookupStrategy() {
    return new BasicLookupStrategy(dataSource, aclCache(), aclAuthorizationStrategy(), new ConsoleAuditLogger());
}