Examples of UnbindOperationContext


Examples of org.apache.directory.server.core.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.interceptor.context.UnbindOperationContext

     *
     * @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 );
        }
        catch ( Exception e )
        {
            JndiUtils.wrap( e );
        }
       
        responseControls = JndiUtils.toJndiControls( opCtx.getResponseControls() );
        requestControls = EMPTY_CONTROLS;
    }
View Full Code Here

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


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

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


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

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

     * @throws NamingException if there are failures encountered while unbinding
     */
    public void ldapUnbind() throws NamingException
    {
        LdapDN principalDn = getSession().getEffectivePrincipal().getJndiName();
        UnbindOperationContext opCtx = new UnbindOperationContext( getSession() );
        opCtx.addRequestControls( requestControls );
        try
        {
            super.getDirectoryService().getOperationManager().unbind( opCtx );
        }
        catch ( Exception e )
        {
            JndiUtils.wrap( e );
        }
        responseControls = opCtx.getResponseControls();
        requestControls = EMPTY_CONTROLS;
    }
View Full Code Here

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


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

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

     *
     * @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 );
        }
        catch ( Exception e )
        {
            JndiUtils.wrap( e );
        }
       
        responseControls = JndiUtils.toJndiControls( opCtx.getResponseControls() );
        requestControls = EMPTY_CONTROLS;
    }
View Full Code Here

Examples of org.apache.directory.server.core.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

Examples of org.apache.directory.server.core.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.interceptor.context.UnbindOperationContext


    public void unbind() throws LdapException
    {
        OperationManager operationManager = directoryService.getOperationManager();
        operationManager.unbind( new UnbindOperationContext( this ) );
    }
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.