Skip to content

Commit 009a3a3

Browse files
authored
v1.1.0
2 parents 1822a0d + b97da8c commit 009a3a3

27 files changed

Lines changed: 328 additions & 649 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
jdk: [17, 21]
12+
jdk: [21]
1313

1414
steps:
1515
- name: Check-out

docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ services:
3939
- security.ldap.base=ou=groups
4040
- security.ldap.pattern=uid={0},ou=people
4141
- spring.ldap.urls=ldap://ldap-auth-server:389
42+
- spring.ldap.base=dc=bernardomg,dc=com
4243
- spring.ldap.username=uid=bmg,ou=people,dc=bernardomg,dc=com
4344
- spring.ldap.password=1234
4445
- spring.security.ldap.base=ou=people,dc=bernardomg,dc=com

pom.xml

Lines changed: 17 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<groupId>com.bernardomg.example</groupId>
2323
<artifactId>spring-ws-ldap-security-example</artifactId>
24-
<version>1.0.3</version>
24+
<version>1.1.0</version>
2525
<packaging>war</packaging>
2626

2727
<name>Spring WS LDAP Security Example</name>
@@ -116,6 +116,10 @@
116116
<!-- ********************************************** -->
117117

118118
<properties>
119+
<!-- ============================================== -->
120+
<!-- ================ JAVA VERSION ================ -->
121+
<!-- ============================================== -->
122+
<java.version>21</java.version>
119123
<!-- ============================================== -->
120124
<!-- =============== MANIFEST DATA ================ -->
121125
<!-- ============================================== -->
@@ -207,36 +211,16 @@
207211
<groupId>org.springframework</groupId>
208212
<artifactId>spring-core</artifactId>
209213
</dependency>
210-
<dependency>
211-
<!-- Spring JDBC -->
212-
<groupId>org.springframework</groupId>
213-
<artifactId>spring-jdbc</artifactId>
214-
</dependency>
215-
<dependency>
216-
<!-- Spring Data JPA -->
217-
<groupId>org.springframework.data</groupId>
218-
<artifactId>spring-data-jpa</artifactId>
219-
</dependency>
220214
<dependency>
221215
<!-- Spring OXM -->
222216
<groupId>org.springframework</groupId>
223217
<artifactId>spring-oxm</artifactId>
224218
</dependency>
225-
<dependency>
226-
<!-- Spring transactions -->
227-
<groupId>org.springframework</groupId>
228-
<artifactId>spring-tx</artifactId>
229-
</dependency>
230219
<dependency>
231220
<!-- Spring Web -->
232221
<groupId>org.springframework</groupId>
233222
<artifactId>spring-web</artifactId>
234223
</dependency>
235-
<dependency>
236-
<!-- Spring ORM -->
237-
<groupId>org.springframework</groupId>
238-
<artifactId>spring-orm</artifactId>
239-
</dependency>
240224
<!-- ============================================== -->
241225
<!-- ============= SPRING SECURITY ================ -->
242226
<!-- ============================================== -->
@@ -246,14 +230,6 @@
246230
<artifactId>spring-security-ldap</artifactId>
247231
</dependency>
248232
<!-- ============================================== -->
249-
<!-- =================== LDAP ===================== -->
250-
<!-- ============================================== -->
251-
<dependency>
252-
<!-- Unboundid LDAP SDK -->
253-
<groupId>com.unboundid</groupId>
254-
<artifactId>unboundid-ldapsdk</artifactId>
255-
</dependency>
256-
<!-- ============================================== -->
257233
<!-- =============== SPRING BOOT ================== -->
258234
<!-- ============================================== -->
259235
<dependency>
@@ -315,55 +291,6 @@
315291
<optional>true</optional>
316292
</dependency>
317293
<!-- ============================================== -->
318-
<!-- ============== JPA DEPENDENCIES ============== -->
319-
<!-- ============================================== -->
320-
<dependency>
321-
<!-- JPA API -->
322-
<groupId>jakarta.persistence</groupId>
323-
<artifactId>jakarta.persistence-api</artifactId>
324-
</dependency>
325-
<!-- ============================================== -->
326-
<!-- ================ HIBERNATE =================== -->
327-
<!-- ============================================== -->
328-
<dependency>
329-
<!-- Hibernate Core -->
330-
<groupId>org.hibernate.orm</groupId>
331-
<artifactId>hibernate-core</artifactId>
332-
</dependency>
333-
<dependency>
334-
<!-- Hikari CP -->
335-
<groupId>com.zaxxer</groupId>
336-
<artifactId>HikariCP</artifactId>
337-
<exclusions>
338-
<exclusion>
339-
<groupId>org.slf4j</groupId>
340-
<artifactId>slf4j-api</artifactId>
341-
</exclusion>
342-
</exclusions>
343-
</dependency>
344-
<!-- ============================================== -->
345-
<!-- ==================== H2 ====================== -->
346-
<!-- ============================================== -->
347-
<dependency>
348-
<!-- H2 database -->
349-
<groupId>com.h2database</groupId>
350-
<artifactId>h2</artifactId>
351-
</dependency>
352-
<!-- ============================================== -->
353-
<!-- ================ LIQUIBASE =================== -->
354-
<!-- ============================================== -->
355-
<dependency>
356-
<!-- Liquibase -->
357-
<groupId>org.liquibase</groupId>
358-
<artifactId>liquibase-core</artifactId>
359-
<exclusions>
360-
<exclusion>
361-
<groupId>ch.qos.logback</groupId>
362-
<artifactId>logback-classic</artifactId>
363-
</exclusion>
364-
</exclusions>
365-
</dependency>
366-
<!-- ============================================== -->
367294
<!-- ================== LOMBOK ==================== -->
368295
<!-- ============================================== -->
369296
<dependency>
@@ -428,12 +355,6 @@
428355
<!-- ============================================== -->
429356
<!-- ======= TEST ENVIRONMENT DEPENDENCIES ======== -->
430357
<!-- ============================================== -->
431-
<dependency>
432-
<!-- Hamcrest -->
433-
<groupId>org.hamcrest</groupId>
434-
<artifactId>hamcrest-core</artifactId>
435-
<scope>test</scope>
436-
</dependency>
437358
<dependency>
438359
<!-- JSON Path -->
439360
<groupId>com.jayway.jsonpath</groupId>
@@ -446,19 +367,6 @@
446367
<artifactId>junit-jupiter-engine</artifactId>
447368
<scope>test</scope>
448369
</dependency>
449-
<dependency>
450-
<!-- JUnit Jupiter Platform -->
451-
<groupId>org.junit.platform</groupId>
452-
<artifactId>junit-platform-runner</artifactId>
453-
<scope>test</scope>
454-
<exclusions>
455-
<exclusion>
456-
<!-- JUnit 3 -->
457-
<groupId>junit</groupId>
458-
<artifactId>junit</artifactId>
459-
</exclusion>
460-
</exclusions>
461-
</dependency>
462370
<dependency>
463371
<!-- Mockito -->
464372
<groupId>org.mockito</groupId>
@@ -483,6 +391,18 @@
483391
</exclusion>
484392
</exclusions>
485393
</dependency>
394+
<dependency>
395+
<!-- Test containers -->
396+
<groupId>org.testcontainers</groupId>
397+
<artifactId>testcontainers</artifactId>
398+
<scope>test</scope>
399+
</dependency>
400+
<dependency>
401+
<!-- AssertJ -->
402+
<groupId>org.assertj</groupId>
403+
<artifactId>assertj-core</artifactId>
404+
<scope>test</scope>
405+
</dependency>
486406
</dependencies>
487407

488408
<!-- ********************************************** -->

src/changes/changes.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,10 @@
2727
Updated dependencies.
2828
</action>
2929
</release>
30+
<release version="1.1.0" date="2024-12-03" description="Spring LDAP">
31+
<action dev="bmg" type="update">
32+
Now using just Spring LDAP.
33+
</action>
34+
</release>
3035
</body>
3136
</document>

src/main/java/com/bernardomg/example/spring/security/ws/ldap/domain/entity/controller/ExampleEntityController.java

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/main/java/com/bernardomg/example/spring/security/ws/ldap/domain/entity/controller/package-info.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/main/java/com/bernardomg/example/spring/security/ws/ldap/domain/entity/model/ExampleEntity.java

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)