Skip to content
Permalink
Browse files
rbac acclerator extended ops not working
  • Loading branch information
shawnmckinney committed Jun 24, 2021
1 parent ac171b0 commit 0481a997d4245c15af361f8fc221e35a8407fe3f
Showing 1 changed file with 1 addition and 4 deletions.
@@ -175,7 +175,6 @@ private void init()
}

// TODO: FIXME #4
/*
try
{
List<String> listExOps = new ArrayList<>();
@@ -185,8 +184,7 @@ private void init()
listExOps.add( "org.openldap.accelerator.impl.dropRole.RbacDropRoleFactory" );
listExOps.add( "org.openldap.accelerator.impl.deleteSession.RbacDeleteSessionFactory" );
listExOps.add( "org.openldap.accelerator.impl.sessionRoles.RbacSessionRolesFactory" );
LdapApiService ldapApiService = new StandaloneLdapApiService( new ArrayList<String>(), listExOps );
LdapApiService ldapApiService = new StandaloneLdapApiService( new ArrayList<String>(), new ArrayList<String>(), listExOps, new ArrayList<String>() );
if ( !LdapApiServiceFactory.isInitialized() )
{
LdapApiServiceFactory.initialize( ldapApiService );
@@ -198,7 +196,6 @@ private void init()
String error = "Exception caught initializing Admin Pool: " + ex;
throw new CfgRuntimeException( GlobalErrIds.FT_APACHE_LDAP_POOL_INIT_FAILED, error, ex );
}
*/

PooledObjectFactory<LdapConnection> poolFactory = new ValidatingPoolableLdapConnectionFactory( config );

0 comments on commit 0481a99

Please sign in to comment.