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

Examples of org.apache.directory.ldapstudio.browser.core.model.IRootDSE


                return objects;
            }
        }
        else if ( parent instanceof IRootDSE )
        {
            final IRootDSE rootDSE = ( IRootDSE ) parent;

            if ( !rootDSE.isChildrenInitialized() && rootDSE.isDirectoryEntry() )
            {
                new InitializeChildrenJob( new IEntry[]
                    { rootDSE } ).execute();
                return new String[]
                    { "Fetching Entries..." };
            }

            // get base entries
            List<IEntry> entryList = new ArrayList<IEntry>();
            entryList.addAll( Arrays.asList( rootDSE.getChildren() ) );

            // remove non-visible entries
            for ( Iterator<IEntry> it = entryList.iterator(); it.hasNext(); )
            {
                Object o = it.next();
View Full Code Here


            // expand viewer
            viewer.refresh( connectionUpdateEvent.getConnection() );
            viewer.expandToLevel( 2 );

            // expand root DSE to show base entries
            IRootDSE rootDSE = connectionUpdateEvent.getConnection().getRootDSE();
            viewer.expandToLevel( rootDSE, 1 );

            // expand base entries, if requested
            if ( view.getConfiguration().getPreferences().isExpandBaseEntries() )
            {
View Full Code Here

        Text typeText = BaseWidgetUtils.createLabeledText( composite, "-", 1 );
        if ( connection != null && connection.getRootDSE() != null )
        {
            // Try to detect LDAP server from RootDSE
            //  
            IRootDSE rootDSE = connection.getRootDSE();
            String type = detectOpenLDAP( rootDSE );
            if ( type == null )
            {
                type = detectSiemensDirX( rootDSE );
                if ( type == null )
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.model.IRootDSE

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.