File tree 7 files changed +259
-197
lines changed
7 files changed +259
-197
lines changed Original file line number Diff line number Diff line change 1
1
* .class
2
+ .idea
3
+ target
Original file line number Diff line number Diff line change 1
- Java Keystore LDAPS Test
1
+ Java LDAP Test
2
2
====================
3
3
4
- ##Configuration
5
- See [ ` Test.properties ` ] ( https://github.com/mmoayyed/java-ldap-ssl-test/blob/master/Test.properties ) .
4
+ This is a small test utility that attempts to connect to an LDAP instance,
5
+ authenticate a given credential and retrieve attributes. It is very helpful
6
+ for testing secure connections, LDAPS and certificate configuration.
6
7
7
- ##Build
8
- To compile and then use, execute:
8
+ ## Configuration
9
9
10
+ See [ ` Test.properties ` ] ( https://github.com/mmoayyed/java-ldap-ssl-test/blob/master/src/main/resources/Test.properties ) .
11
+
12
+ ## Build
13
+
14
+ ``` bash
15
+ mvn clean package
10
16
```
11
- javac Test.java
12
- java Test
17
+
18
+ ## Usage
19
+
20
+ - Download the JAR from [ here] ( https://github.com/UniconLabs/java-ldap-ssl-test/releases )
21
+ - Run:
22
+
23
+ ```
24
+ java -jar <jar-file-name>
13
25
```
14
26
15
27
##Sample output
28
+
16
29
The log below demonstrates a sample of the program output configured to hit 5 ldap urls.
17
30
18
31
```
@@ -86,4 +99,3 @@ The log below demonstrates a sample of the program output configured to hit 5 ld
86
99
87
100
[INFO] Ldap search completed successfully.
88
101
```
89
-
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >net.unicon</groupId >
5
+ <artifactId >java-ldap-keystore-test</artifactId >
6
+ <version >0.0.1</version >
7
+ <name >Java LDAP Keystore Test Utility</name >
8
+ <packaging >jar</packaging >
9
+ <description >Java CLI utility to execute LDAP connections.</description >
10
+ <dependencies >
11
+ <dependency >
12
+ <groupId >org.springframework.boot</groupId >
13
+ <artifactId >spring-boot-starter</artifactId >
14
+ <version >1.4.3.RELEASE</version >
15
+ </dependency >
16
+ </dependencies >
17
+ <build >
18
+ <plugins >
19
+ <plugin >
20
+ <groupId >org.springframework.boot</groupId >
21
+ <artifactId >spring-boot-maven-plugin</artifactId >
22
+ <version >1.4.3.RELEASE</version >
23
+ <executions >
24
+ <execution >
25
+ <goals >
26
+ <goal >repackage</goal >
27
+ </goals >
28
+ </execution >
29
+ </executions >
30
+ </plugin >
31
+ <plugin >
32
+ <groupId >org.apache.maven.plugins</groupId >
33
+ <artifactId >maven-compiler-plugin</artifactId >
34
+ <configuration >
35
+ <source >1.8</source >
36
+ <target >1.8</target >
37
+ </configuration >
38
+ </plugin >
39
+ </plugins >
40
+ </build >
41
+ </project >
You can’t perform that action at this time.
0 commit comments