Examples of addRequestControls()


Examples of org.apache.directory.server.core.interceptor.context.AddOperationContext.addRequestControls()

    protected void doAddOperation( DN target, ServerEntry entry ) throws Exception
    {
        // setup the op context and populate with request controls
        AddOperationContext opCtx = new AddOperationContext( session, entry );

        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );
       
        // Inject the referral handling into the operation context
        injectReferralControl( opCtx );
       
        // execute add operation
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.BindOperationContext.addRequestControls()

        BindOperationContext opCtx = new BindOperationContext( null );
        opCtx.setDn( bindDn );
        opCtx.setCredentials( credentials );
        opCtx.setSaslMechanism( saslMechanism );
        opCtx.setSaslAuthId( saslAuthId );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );

        // execute bind operation
        OperationManager operationManager = service.getOperationManager();
        operationManager.bind( opCtx );
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.BindOperationContext.addRequestControls()

        BindOperationContext bindContext = new BindOperationContext( null );
        bindContext.setDn( bindDn );
        bindContext.setCredentials( credentials );
        bindContext.setSaslMechanism( saslMechanism );
        bindContext.setSaslAuthId( saslAuthId );
        bindContext.addRequestControls( convertControls( true, requestControls ) );

        // execute bind operation
        OperationManager operationManager = service.getOperationManager();
        operationManager.bind( bindContext );
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.CompareOperationContext.addRequestControls()

            }
        }
       
       
        CompareOperationContext opCtx = new CompareOperationContext( getSession(), name, oid, val );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );
       
        // Inject the Referral flag
        injectReferralControl( opCtx );

        // execute operation
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.DeleteOperationContext.addRequestControls()

    protected void doDeleteOperation( DN target ) throws Exception
    {
        // setup the op context and populate with request controls
        DeleteOperationContext opCtx = new DeleteOperationContext( session, target );

        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );

        // Inject the referral handling into the operation context
        injectReferralControl( opCtx );

        // execute delete operation
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.DeleteOperationContext.addRequestControls()

    protected void doDeleteOperation( Dn target ) throws Exception
    {
        // setup the op context and populate with request controls
        DeleteOperationContext opCtx = new DeleteOperationContext( session, target );

        opCtx.addRequestControls( convertControls( true, requestControls ) );

        // Inject the referral handling into the operation context
        injectReferralControl( opCtx );

        // execute delete operation
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.GetRootDSEOperationContext.addRequestControls()


    protected ServerEntry doGetRootDSEOperation( DN target ) throws Exception
    {
        GetRootDSEOperationContext opCtx = new GetRootDSEOperationContext( session, target );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( 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( opCtx );
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.GetRootDSEOperationContext.addRequestControls()


    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.ListOperationContext.addRequestControls()

     */
    protected EntryFilteringCursor doListOperation( DN target ) throws Exception
    {
        // setup the op context and populate with request controls
        ListOperationContext opCtx = new ListOperationContext( session, target );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );

        // execute list operation
        OperationManager operationManager = service.getOperationManager();
        EntryFilteringCursor results = operationManager.list( opCtx );

View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext.addRequestControls()

     */
    protected EntryFilteringCursor doListOperation( Dn target ) throws Exception
    {
        // setup the op context and populate with request controls
        ListOperationContext listContext = new ListOperationContext( session, target );
        listContext.addRequestControls( convertControls( true, requestControls ) );

        // execute list operation
        OperationManager operationManager = service.getOperationManager();
        EntryFilteringCursor results = operationManager.list( listContext );

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.