use of org.apache.directory.ldap.client.api.SaslGssApiRequest in project directory-ldap-api by apache.
the class ApiLdapClientApiOsgiTest method useBundleClasses.
@Override
protected void useBundleClasses() throws Exception {
new LdapNetworkConnection().close();
new SaslGssApiRequest();
new Krb5LoginConfiguration();
new AddFuture(new LdapNetworkConnection(), 2);
new LdapConnectionTemplate(new LdapConnectionPool(new DefaultPoolableLdapConnectionFactory(new LdapConnectionConfig())));
FilterBuilder.and(FilterBuilder.not(FilterBuilder.contains("cn", "a", "b"))).toString();
// Test for DIRAPI-239
PoolableObjectFactory<LdapConnection> factory = new DefaultPoolableLdapConnectionFactory(new LdapConnectionConfig());
Config config = new Config();
LdapConnectionPool ldapConnectionPool = new LdapConnectionPool(factory, config);
ldapConnectionPool.getLdapApiService();
ldapConnectionPool.getTestOnBorrow();
}
Aggregations