Implicit anonymous search
| | |
| | | try |
| | | { |
| | | connection = factory.getConnection(); |
| | | connection.bind("", "".toCharArray()); |
| | | |
| | | // Perform an anonymous search on the root DSE. |
| | | final SearchResultEntry entry = connection.searchSingleEntry( |
| | | "", // DN is "" for root DSE. |
| | | SearchScope.BASE_OBJECT, // Read only the root DSE. |
| | |
| | | try |
| | | { |
| | | connection = factory.getConnection(); |
| | | connection.bind("", "".toCharArray()); |
| | | |
| | | // Perform an anonymous search on the root DSE. |
| | | final SearchResultEntry entry = connection.searchSingleEntry( |
| | | "", // DN is "" for root DSE. |
| | | SearchScope.BASE_OBJECT, // Read only the root DSE. |
| | |
| | | try |
| | | { |
| | | connection = factory.getConnection(); |
| | | connection.bind("", "".toCharArray()); |
| | | |
| | | // Perform an anonymous search on the root DSE. |
| | | final SearchResultEntry entry = connection.searchSingleEntry( |
| | | "", // DN is "" for root DSE. |
| | | SearchScope.BASE_OBJECT, // Read only the root DSE. |