Examples of addRequestControls()


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

     */
    protected void doRename( DN oldDn, RDN newRdn, boolean delOldRdn ) throws Exception
    {
        // setup the op context and populate with request controls
        RenameOperationContext opCtx = new RenameOperationContext( session, oldDn, newRdn, delOldRdn );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );

        // Inject the referral handling into the operation context
        injectReferralControl( opCtx );
       
        // execute rename operation
View Full Code Here

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

            // setup the op context and populate with request controls
            searchContext = new SearchOperationContext( session, dn, filter,
                searchControls );
            searchContext.setAliasDerefMode( aliasDerefMode );
            searchContext.addRequestControls( convertControls( true, requestControls ) );

            searchContext.setTypesOnlytypesOnly );

            if ( result )
            {
View Full Code Here

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

            // It's a Search

            // setup the op context and populate with request controls
            searchContext = new SearchOperationContext( session, dn, filter, searchControls );
            searchContext.setAliasDerefMode( aliasDerefMode );
            searchContext.addRequestControls( convertControls( true, requestControls ) );
            searchContext.setTypesOnlytypesOnly );

            // Inject the referral handling into the operation context
            injectReferralControl( searchContext );
View Full Code Here

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

     * @throws NamingException if there are failures encountered while unbinding
     */
    public void ldapUnbind() throws NamingException
    {
        UnbindOperationContext opCtx = new UnbindOperationContext( getSession() );
        opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );

        try
        {
            super.getDirectoryService().getOperationManager().unbind( opCtx );
        }
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.