Search in sources :

Example 1 with LdapClient

use of org.pac4j.ldap.test.tools.LdapClient in project pac4j by pac4j.

the class LdapProfileServiceTests method setUp.

@Before
public void setUp() {
    ldapServer = new LdapServer();
    ldapServer.start();
    final LdapClient client = new LdapClient();
    authenticator = client.getAuthenticator();
    connectionFactory = client.getConnectionFactory();
}
Also used : LdapServer(org.pac4j.ldap.test.tools.LdapServer) LdapClient(org.pac4j.ldap.test.tools.LdapClient) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 LdapClient (org.pac4j.ldap.test.tools.LdapClient)1 LdapServer (org.pac4j.ldap.test.tools.LdapServer)1