Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
420bb25
Merge pull request #183 from xdev-software/master
AB-xdev Sep 10, 2025
59675bf
Typo
AB-xdev Sep 11, 2025
b828600
Update net.sourceforge.pmd to v7.17.0
xdev-renovate Sep 12, 2025
d3df7ee
Merge pull request #198 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Sep 12, 2025
154c6c7
Update to PMD 7.17 and add new rules
AB-xdev Sep 12, 2025
d149489
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Sep 12, 2025
ee1210b
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Sep 12, 2025
44ccd72
Update shogo82148/actions-create-release digest to 7b89596
xdev-renovate Sep 14, 2025
9667127
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Sep 15, 2025
cfcde37
Update dependency org.apache.maven.plugins:maven-surefire-plugin to v…
xdev-renovate Sep 15, 2025
49584cc
Update dependency org.mariadb.jdbc:mariadb-java-client to v3.5.6
xdev-renovate Sep 15, 2025
3d2eb8c
Update net.sourceforge.pmd to v7.17.0
xdev-renovate Sep 15, 2025
2c96ba1
Merge pull request #201 from xdev-software/renovate/shogo82148-action…
AB-xdev Sep 16, 2025
dd4c7fa
Update mvnw
AB-xdev Sep 16, 2025
9c6efcf
Merge pull request #186 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Sep 17, 2025
be2f8c5
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Sep 17, 2025
3012219
Merge pull request #185 from xdev-software/renovate/org.mariadb.jdbc-…
AB-xdev Sep 17, 2025
08f5583
Merge pull request #188 from xdev-software/renovate/org.apache.maven.…
AB-xdev Sep 17, 2025
c16af60
Merge remote-tracking branch 'origin/update-from-template-merged' int…
xdev-gh-bot Sep 17, 2025
6f2bf1b
Update dependency software.xdev.tci:bom to v2.7.0
xdev-renovate Sep 18, 2025
ff8132c
Merge pull request #193 from xdev-software/renovate/software.xdev.tci…
AB-xdev Sep 18, 2025
5b360cc
Update TCI
AB-xdev Sep 18, 2025
386ddab
Update org.springframework.boot to v3.5.6
xdev-renovate Sep 19, 2025
3618c22
Merge pull request #195 from xdev-software/renovate/org.springframewo…
AB-xdev Sep 19, 2025
49f1e53
[Actuator] Implement password hashers and caching
AB-xdev Sep 18, 2025
b8959ee
Bump version
AB-xdev Sep 18, 2025
69e298e
Use working version and fix dependencies
AB-xdev Sep 19, 2025
ae4fc8c
Fix CPD
AB-xdev Sep 19, 2025
5852c66
Typo
AB-xdev Sep 19, 2025
1d999cd
Fix tests
AB-xdev Sep 19, 2025
3a6dd3d
Merge pull request #194 from xdev-software/actuator-passwords
AB-xdev Sep 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .config/pmd/java/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<rule ref="category/java/codestyle.xml/NoPackage"/>
<rule ref="category/java/codestyle.xml/PrematureDeclaration"/>
<rule ref="category/java/codestyle.xml/UnnecessarySemicolon"/>
<rule ref="category/java/codestyle.xml/VariableCanBeInlined"/>

<rule ref="category/java/design.xml">
<!-- Sometimes abstract classes have just fields -->
Expand Down Expand Up @@ -138,6 +139,7 @@
<rule ref="category/java/errorprone.xml/AvoidMultipleUnaryOperators"/>
<rule ref="category/java/errorprone.xml/AvoidUsingOctalValues"/>
<rule ref="category/java/errorprone.xml/BrokenNullCheck"/>
<rule ref="category/java/errorprone.xml/CollectionTypeMismatch"/>
<rule ref="category/java/errorprone.xml/ComparisonWithNaN"/>
<rule ref="category/java/errorprone.xml/DoNotCallGarbageCollectionExplicitly"/>
<rule ref="category/java/errorprone.xml/DontImportSun"/>
Expand All @@ -155,7 +157,7 @@
<rule ref="category/java/errorprone.xml/SingletonClassReturningNewInstance"/>
<rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>
<rule ref="category/java/errorprone.xml/UnnecessaryCaseChange"/>
<rule ref="category/java/errorprone.xml/UselessOperationOnImmutable"/>
<rule ref="category/java/errorprone.xml/UselessPureMethodCall"/>


<rule ref="category/java/multithreading.xml">
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Create Release
id: create-release
uses: shogo82148/actions-create-release@4661dc54f7b4b564074e9fbf73884d960de569a3 # v1
uses: shogo82148/actions-create-release@7b89596097b26731bda0852f1504f813499079ee # v1
with:
tag_name: v${{ steps.version.outputs.release }}
release_name: v${{ steps.version.outputs.release }}
Expand Down
18 changes: 2 additions & 16 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 1.3.0
* Actuator
* Added support for custom password hashers
* The default built-in password-hasher is still using `SHA-256`
* `ActuatorUserConfig#passwordSha256` was renamed to `passwordHash`
* `passwordSha256` is deprecated and will be removed in a future release
* Now utilizes password hash caching if possible
* The cache defaults to a maximum size of 100 and a cached duration of 1h
* Enabled when one of the following libraries is detected on the class-path:
* [caffeine](https://github.com/ben-manes/caffeine)
* [expiring-limited-cache](https://github.com/xdev-software/expiring-limited-cache)
* Can be disabled with `sse.sidecar.actuator.password-hash.cache.enabled` if required
* See source code for details configuration options
* Updated dependencies

# 1.2.2
* Minor code cleanup
* Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please note that more detailed descriptions are available in the individual modu
* [web-sidecar-actuator](./web-sidecar-actuator/)
* Secures Spring Boot's Actuator
* Multi-User support
* Allows securing different endpoint per user
* Allows securing different endpoints per user
* Only password hashes are stored on the server side
* [web-sidecar-common](./web-sidecar-common/)
* Host static resources without creating sessions
Expand Down
26 changes: 13 additions & 13 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>bom</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>bom</name>
Expand Down Expand Up @@ -51,62 +51,62 @@
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>client-storage</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>crypto-symmetric</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>crypto-symmetric-managed</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>codec-sha256</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>csp</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>metrics</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>oauth2-oidc</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>oauth2-oidc-remember-me</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>vaadin</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>web</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>web-sidecar-actuator</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>software.xdev.sse</groupId>
<artifactId>web-sidecar-common</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
6 changes: 3 additions & 3 deletions client-storage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>client-storage</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>client-storage</name>
Expand Down Expand Up @@ -261,12 +261,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
8 changes: 4 additions & 4 deletions codec-sha256/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>codec-sha256</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>codec-sha256</name>
Expand Down Expand Up @@ -150,7 +150,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.3</version>
<version>3.5.4</version>
</plugin>
</plugins>
</build>
Expand Down Expand Up @@ -268,12 +268,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
8 changes: 4 additions & 4 deletions crypto-symmetric-managed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>crypto-symmetric-managed</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>crypto-symmetric-managed</name>
Expand Down Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.5</version>
<version>3.5.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -287,12 +287,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
8 changes: 4 additions & 4 deletions crypto-symmetric/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>crypto-symmetric</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>crypto-symmetric</name>
Expand Down Expand Up @@ -150,7 +150,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.3</version>
<version>3.5.4</version>
</plugin>
</plugins>
</build>
Expand Down Expand Up @@ -268,12 +268,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
8 changes: 4 additions & 4 deletions csp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev.sse</groupId>
<artifactId>csp</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>csp</name>
Expand Down Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.5</version>
<version>3.5.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -277,12 +277,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.16.0</version>
<version>7.17.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion demo/entities-metamodel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>software.xdev.sse.demo</groupId>
<artifactId>demo</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>entities-metamodel</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion demo/entities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>software.xdev.sse.demo</groupId>
<artifactId>demo</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>entities</artifactId>

Expand Down
Loading