Package org.apache.directory.api.ldap.extras.extended.whoAmI

Examples of org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest


        LdapConnection adminConnection = getAdminNetworkConnection( getLdapServer() );

        adminConnection.setTimeOut( 0L );

        // Create a new RBAC session
        WhoAmIRequest whoAmIRequest = new WhoAmIRequestImpl();

        // Send the request
        WhoAmIResponse whoAmIResponse = ( WhoAmIResponse ) adminConnection.extended( whoAmIRequest );

        assertEquals( ResultCodeEnum.SUCCESS, whoAmIResponse.getLdapResult().getResultCode() );
View Full Code Here

TOP

Related Classes of org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest

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.