Examples of UnbindOperationContext


Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext


    public void unbind() throws LdapException
    {
        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( new UnbindOperationContext( this ) );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind() throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind( UnbindRequest unbindRequest ) throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this, unbindRequest );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind() throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind( UnbindRequest unbindRequest ) throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this, unbindRequest );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind() throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind( UnbindRequest unbindRequest ) throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this, unbindRequest );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind() throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

    /**
     * {@inheritDoc}
     */
    public void unbind( UnbindRequest unbindRequest ) throws LdapException
    {
        UnbindOperationContext unbindContext = new UnbindOperationContext( this, unbindRequest );

        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( unbindContext );
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.interceptor.context.UnbindOperationContext

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

        try
        {
            opCtx.addRequestControls( JndiUtils.fromJndiControls( getDirectoryService().getLdapCodecService(),
                requestControls ) );
        }
        catch ( DecoderException e1 )
        {
            throw new NamingException( I18n.err( I18n.ERR_309, "unbind encoder exception" ) );
        }

        try
        {
            super.getDirectoryService().getOperationManager().unbind( opCtx );
        }
        catch ( Exception e )
        {
            JndiUtils.wrap( e );
        }

        try
        {
            responseControls = JndiUtils.toJndiControls( getDirectoryService().getLdapCodecService(),
                opCtx.getResponseControls() );
        }
        catch ( EncoderException e )
        {
            throw new NamingException( I18n.err( I18n.ERR_309, "unbind encoder exception" ) );
        }
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.