Skip to content

Commit 095c32f

Browse files
committed
Pushed to java 21 and latests deps
1 parent a30f40b commit 095c32f

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
call-workflow:
1414
uses: 42BV/42-github-workflows/.github/workflows/maven-test.yml@main
1515
with:
16-
java-version: 17
16+
java-version: 21

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Spring boot autoconfig for spring security in a REST environment
2323
pattern. Implemented by using the [CsrfTokenRepository](https://docs.spring.io/spring-security/site/docs/current/reference/html/csrf.html#csrf-cookie).
2424
- The @CurrentUser annotation may be used to annotate a controller method argument to inject the current custom user.
2525
- Note the UserResolver spring bean that is added to your appication context, conveniently get the current logged in user from the SecurityContext!
26-
- This auto configuration does not make assumptions of how you implement the "authorities" of a User. Spring Security can interpret your authorities by looking
26+
- This autoconfiguration does not make assumptions of how you implement the "authorities" of a User. Spring Security can interpret your authorities by looking
2727
at a prefix; if you prefix an authority with "ROLE_", the framework provides a specific role-checking-api. But you can always use the more generic
2828
authority-checking-api.
2929
* For instance if you want to make use of "roles" and the Spring Security "hasRole(..)"-api methods, you must prefix your roles with the default "ROLE_".
@@ -44,7 +44,7 @@ Spring boot autoconfig for spring security in a REST environment
4444
<dependency>
4545
<groupId>nl.42</groupId>
4646
<artifactId>rest-secure-spring-boot-starter</artifactId>
47-
<version>12.3.0</version>
47+
<version>13.0.0</version>
4848
</dependency>
4949
<dependency>
5050
<groupId>org.springframework.boot</groupId>
@@ -232,7 +232,7 @@ Below you'll find more detailed requirements of each endpoint:
232232

233233
### Using a custom User domain object
234234

235-
To use a custom User object we should implement the `RegisteredUser` interface (using the email fields as username):
235+
To use a custom User object we should implement the `RegisteredUser` interface (using the email field as username):
236236

237237
```java
238238
@@ -264,7 +264,7 @@ public class User implements RegisteredUser {
264264
}
265265
```
266266

267-
If your custom User domain object has custom properties for `accountExpired`, `accountLocked`, `credentialsExpired` or `userEnabled`,
267+
If your custom User domain object has custom properties for `accountExpired`, `accountLocked`, `credentialsExpired` or `enabled`,
268268
you should override the corresponding default RegisteredUser methods. These methods are checked during a successful authentication, by
269269
default they are all valid.
270270

owasp-suppressions.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3-
<!-- Every time you update Spring Boot, check if there are suppressions that are no longer necessary
4-
(these unused suppressions will be listed in the logging of the owasp dependency check plugin). -->
5-
<suppress>
6-
<notes>logback-core-1.4.11 waiting for spring update</notes>
7-
<cve>CVE-2023-6378</cve>
8-
</suppress>
9-
<suppress>
10-
<notes>jackson-databind-2.15.3 waiting for spring update</notes>
11-
<cve>CVE-2023-35116</cve>
12-
</suppress>
133
</suppressions>

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,20 @@
5656
<properties>
5757
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5858
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
59-
<maven.compiler.release>17</maven.compiler.release>
59+
<maven.compiler.release>21</maven.compiler.release>
6060

61-
<spring-boot.version>3.2.0</spring-boot.version>
61+
<spring-boot.version>3.3.4</spring-boot.version>
6262
<totp-spring-boot-starter.version>1.7.1</totp-spring-boot-starter.version>
63-
<commons-io.version>2.11.0</commons-io.version>
64-
<dependency-check-maven-plugin.version>8.4.3</dependency-check-maven-plugin.version>
65-
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
66-
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
63+
<commons-io.version>2.17.0</commons-io.version>
64+
65+
<dependency-check-maven-plugin.version>10.0.4</dependency-check-maven-plugin.version>
66+
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
67+
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
6768
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
6869
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
69-
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
70+
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
7071
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
71-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
72+
<maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version>
7273
</properties>
7374

7475
<dependencies>

0 commit comments

Comments
 (0)