/** * Fetch the rootDSE entry * * @param target Should be empty * @return The RootDSE entry * @throws Exception If we can't fetch the RootDSE entry */ protected Entry doGetRootDseOperation( Dn target ) throws Exception { GetRootDseOperationContext getRootDseContext = new GetRootDseOperationContext( session, target ); getRootDseContext.addRequestControls( convertControls( true, requestControls ) ); // do not reset request controls since this is not an external // operation and not do bother setting the response controls either OperationManager operationManager = service.getOperationManager(); return operationManager.getRootDse( getRootDseContext ); }
GetRootDseOperationContext getRootDseContext = new GetRootDseOperationContext( searchContext.getSession() ); getRootDseContext.setPartition( searchContext.getPartition() ); getRootDseContext.setTransaction( searchContext.getTransaction() );