Package org.apache.directory.ldapstudio.browser.core.jobs

Examples of org.apache.directory.ldapstudio.browser.core.jobs.CheckBindJob


            connection.setName( null );
            connection.setBindPrincipal( this.entry.getDn().toString() );
            connection.setBindPassword( this.testPasswordText.getText() );
            connection.setAuthMethod( IConnection.AUTH_SIMPLE );

            CheckBindJob job = new CheckBindJob( connection );
            RunnableContextJobAdapter.execute( job );
            if ( job.getExternalResult().isOK() )
            {
                MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                    "The authentication was successful." );
            }
View Full Code Here


        checkSimpleAuthButton.addSelectionListener( new SelectionListener()
        {
            public void widgetSelected( SelectionEvent e )
            {
                IConnection connection = getTestConnection();
                CheckBindJob job = new CheckBindJob( connection );
                RunnableContextJobAdapter.execute( job, runnableContext );
                if ( job.getExternalResult().isOK() )
                {
                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                        "The authentication was successful." );
                }
            }
View Full Code Here

        checkSimpleAuthButton.addSelectionListener( new SelectionListener()
        {
            public void widgetSelected( SelectionEvent e )
            {
                IConnection connection = getTestConnection();
                CheckBindJob job = new CheckBindJob( connection );
                RunnableContextJobAdapter.execute( job, runnableContext );
                if ( job.getExternalResult().isOK() )
                {
                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                        "The authentication was successful." );
                }
            }
View Full Code Here

            connection.setName( null );
            connection.setBindPrincipal( this.entry.getDn().toString() );
            connection.setBindPassword( this.testPasswordText.getText() );
            connection.setAuthMethod( IConnection.AUTH_SIMPLE );

            CheckBindJob job = new CheckBindJob( connection );
            RunnableContextJobAdapter.execute( job );
            if ( job.getExternalResult().isOK() )
            {
                MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                    "The authentication was successful." );
            }
View Full Code Here

        checkSimpleAuthButton.addSelectionListener( new SelectionListener()
        {
            public void widgetSelected( SelectionEvent e )
            {
                IConnection connection = getTestConnection();
                CheckBindJob job = new CheckBindJob( connection );
                RunnableContextJobAdapter.execute( job, runnableContext );
                if ( job.getExternalResult().isOK() )
                {
                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                        "The authentication was successful." );
                }
            }
View Full Code Here

            connection.setName( null );
            connection.setBindPrincipal( this.entry.getDn().toString() );
            connection.setBindPassword( this.testPasswordText.getText() );
            connection.setAuthMethod( IConnection.AUTH_SIMPLE );

            CheckBindJob job = new CheckBindJob( connection );
            RunnableContextJobAdapter.execute( job );
            if ( job.getExternalResult().isOK() )
            {
                MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
                    "The authentication was successful." );
            }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.jobs.CheckBindJob

Copyright © 2018 www.massapicom. 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.