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

The following examples show how to use org.springframework.security.acls.jdbc.BasicLookupStrategy. These examples are extracted from open source projects. 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 Project: Spring-Security-Third-Edition   Source File: AclConfig.java    License: MIT License 5 votes vote down vote up
@Bean
public LookupStrategy lookupStrategy(){
    return new BasicLookupStrategy(
            dataSource,
            aclCache(),
            aclAuthorizationStrategy(),
            consoleAuditLogger());
}
 
Example 2
Source Project: Spring-Security-Third-Edition   Source File: AclConfig.java    License: 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 Project: Spring-Security-Third-Edition   Source File: AclConfig.java    License: MIT License 5 votes vote down vote up
@Bean
public LookupStrategy lookupStrategy(){
    return new BasicLookupStrategy(
            dataSource,
            aclCache(),
            aclAuthorizationStrategy(),
            consoleAuditLogger());
}
 
Example 4
Source Project: Spring-Security-Third-Edition   Source File: AclConfig.java    License: 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 Project: Spring-Security-Third-Edition   Source File: AclConfig.java    License: 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 Project: molgenis   Source File: AclConfig.java    License: 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 Project: tutorials   Source File: ACLContext.java    License: MIT License 4 votes vote down vote up
@Bean
public LookupStrategy lookupStrategy() {
    return new BasicLookupStrategy(dataSource, aclCache(), aclAuthorizationStrategy(), new ConsoleAuditLogger());
}