Package com.xpn.xwiki.plugin.ldap

Examples of com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection


     */
    public void testOpenClose() throws XWikiLDAPException
    {
        int port = LDAPTestSetup.getLDAPPort();

        XWikiLDAPConnection connection = new XWikiLDAPConnection();

        assertTrue("LDAP connection failed", connection.open("localhost", port, LDAPTestSetup.HORATIOHORNBLOWER_DN,
            LDAPTestSetup.HORATIOHORNBLOWER_PWD, null, false, context));

        connection.close();
    }
View Full Code Here


     */
    public void testOpenClose() throws XWikiLDAPException
    {
        int port = LDAPTestSetup.getLDAPPort();

        XWikiLDAPConnection connection = new XWikiLDAPConnection();

        assertTrue("LDAP connection failed", connection.open("localhost", port, LDAPTestSetup.HORATIOHORNBLOWER_DN,
            LDAPTestSetup.HORATIOHORNBLOWER_PWD, null, false, context));

        connection.close();
    }
View Full Code Here

TOP

Related Classes of com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.