Examples of GetRootDSEOperationContext


Examples of org.apache.directory.server.core.interceptor.context.GetRootDSEOperationContext

     * A GetRootDSE performance test
     */
    @Test
    public void testPerfGetRootDSE() throws Exception
    {
        GetRootDSEOperationContext getRootDseContext = new GetRootDSEOperationContext( getService().getAdminSession() );
        Entry rootDSE = getService().getOperationManager().getRootDSE( getRootDseContext );

        assertNotNull( rootDSE );
        int nbIterations = 150000;

View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.GetRootDSEOperationContext

    }


    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 );
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.GetRootDSEOperationContext

            return new BaseEntryFilteringCursor( new SingletonCursor<Entry>( rootDSE ), searchContext );
        }

        Entry serverEntry = new DefaultEntry( schemaManager, Dn.ROOT_DSE );

        Entry rootDSE = getRootDSE( new GetRootDSEOperationContext( searchContext.getSession() ) );

        for ( Attribute attribute : rootDSE )
        {
            AttributeType type = schemaManager.lookupAttributeTypeRegistry( attribute.getUpId() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.