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() );