Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky #1202

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7e6cf23
Add maven-build-2.x.yml
finkmanAtSap Feb 21, 2023
a49bb07
remove space from end of README to test Github workflow
finkmanAtSap Feb 21, 2023
0a26ad4
remove old maven build Github workflow
finkmanAtSap Feb 21, 2023
c8dd76b
Bump version to 2.13.6 (#1095)
liga-oz Feb 24, 2023
a8080ec
Revert slf4j 2.x upgrade (#1096)
liga-oz Feb 24, 2023
b466eee
Update Migration_JavaContainerSecurityProjects.md
liga-oz Mar 2, 2023
36e86fc
Update Migration_JavaContainerSecurityProjects.md
liga-oz Mar 2, 2023
4662d6b
Fix token client logback scope (#1105)
liga-oz Mar 3, 2023
25fef7c
Bump spotbugs-maven-plugin from 4.7.3.0 to 4.7.3.2 (#1098)
dependabot[bot] Mar 3, 2023
c858339
Bump dependency-check-maven from 8.1.0 to 8.1.2 (#1107)
dependabot[bot] Mar 3, 2023
2a8dedf
Bump version 2.13.7 (#1108)
liga-oz Mar 3, 2023
e9f58e9
Create first_test.yml
akib6075 Mar 23, 2023
fcce3bd
potentially fixed the flaky issue
KaziAkibJaved Mar 23, 2023
34c680e
work-flow removed
KaziAkibJaved May 29, 2023
92d1888
remove httpclient caching from DefaultHttpClientFactory (#1416)
liga-oz Jan 3, 2024
c6e7830
Bump org.assertj:assertj-core from 3.24.2 to 3.25.1 (#1417)
dependabot[bot] Jan 4, 2024
e0d6349
Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.0 to 3.21.2 …
dependabot[bot] Jan 4, 2024
1a4bac7
Support DwC - Avoid superflous WARN log messages (#1415)
nenaraab Jan 4, 2024
87022be
remove jetty bom and define dependencies explicitly
liga-oz Jan 4, 2024
6aaf717
Make generated jwt attributes in a predictable order (#1403)
liga-oz Jan 5, 2024
6067844
cleanup dependencies
liga-oz Jan 5, 2024
59b45df
Use jetty-ee10 instead of jetty-ee9 (#1418)
beckermarc Jan 5, 2024
2430469
bump version to 3.3.3 (#1419)
liga-oz Jan 5, 2024
e8607e7
apply formatter
liga-oz Jan 5, 2024
08df046
Bump slf4j.api.version from 2.0.10 to 2.0.11 (#1421)
dependabot[bot] Jan 10, 2024
0f09e20
Bump org.owasp:dependency-check-maven from 9.0.7 to 9.0.8 (#1420)
dependabot[bot] Jan 10, 2024
12a063d
Bump spring.core.version from 6.1.2 to 6.1.3 (#1425)
dependabot[bot] Jan 11, 2024
c878be4
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2…
dependabot[bot] Jan 11, 2024
69b53bf
Bump io.projectreactor:reactor-test from 3.6.1 to 3.6.2 (#1423)
dependabot[bot] Jan 11, 2024
74b1de9
Bump io.projectreactor:reactor-core from 3.6.1 to 3.6.2 (#1422)
dependabot[bot] Jan 11, 2024
3d59b16
remove toUpperCase() for service plan property in ServiceBindingMapper
finkmanAtSap Jan 11, 2024
75fc213
remove line break
finkmanAtSap Jan 11, 2024
72defbc
fix weird white space
finkmanAtSap Jan 11, 2024
ec10df5
bump version to 3.3.4 (#1426)
liga-oz Jan 12, 2024
dab6574
Merge pull request #1427 from SAP/fix/do_not_uppercase_service_plan_i…
finkmanAtSap Jan 12, 2024
6317163
change fallback plan from "APPLICATION" to "application" in ServiceBi…
finkmanAtSap Jan 12, 2024
43beab4
Merge pull request #1430 from SAP/fix/lowercase_fallback_service_plan
finkmanAtSap Jan 12, 2024
80c0802
Bump uk.org.webcompere:system-stubs-jupiter from 2.1.5 to 2.1.6 (#1431)
dependabot[bot] Jan 15, 2024
ef45ea9
Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.2.0 to 4.8.3.…
dependabot[bot] Jan 15, 2024
e64e952
Bump org.mockito:mockito-core from 5.8.0 to 5.9.0 (#1433)
dependabot[bot] Jan 15, 2024
b89f98b
Update README.md
liga-oz Jan 19, 2024
e62d92e
Bump com.sap.cloud.environment.servicebinding:java-bom (#1434)
dependabot[bot] Jan 24, 2024
08e63e4
Bump org.owasp:dependency-check-maven from 9.0.8 to 9.0.9 (#1436)
dependabot[bot] Jan 24, 2024
2a090fb
Bump spring.boot.version from 3.2.1 to 3.2.2 (#1437)
dependabot[bot] Jan 24, 2024
a0d7eed
Bump org.owasp:dependency-check-maven (#1440)
dependabot[bot] Jan 24, 2024
192e6cf
Bump org.owasp:dependency-check-maven (#1441)
dependabot[bot] Jan 24, 2024
fae5de0
Bump org.owasp:dependency-check-maven (#1442)
dependabot[bot] Jan 24, 2024
66fa71c
update multiple xsuaa binding section in README.md (#1438)
liga-oz Jan 24, 2024
a46a0b0
Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 (#1446)
dependabot[bot] Jan 26, 2024
dc498e4
Bump org.apache.httpcomponents.client5:httpclient5 from 5.3 to 5.3.1 …
dependabot[bot] Jan 26, 2024
3cc2a16
Merge branch 'fix-flaky'
KaziAkibJaved Jan 28, 2024
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
27 changes: 27 additions & 0 deletions .github/workflows/first_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test:AuthenticationTokenTest.equals
run-name: Known Flaky test
on: [push]
jobs:
Test_Without_Nondex_Shuffling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Test
run: mvn -pl spring-security test -Dtest=com.sap.cloud.security.spring.token.authentication.AuthenticationTokenTest#equals

Test_With_Nondex_Shuffling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Test
run: mvn -pl spring-security edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=com.sap.cloud.security.spring.token.authentication.AuthenticationTokenTest#equals
4 changes: 2 additions & 2 deletions .github/workflows/fosstars-project-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: "Security rating"
steps:
- uses: actions/checkout@v2.3.4
- uses: SAP/fosstars-rating-core-action@v1.1.1
- uses: SAP/fosstars-rating-core-action@v1.10.0
with:
report-branch: fosstars-report
token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# SPDX-FileCopyrightText: 2018-2021 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors
# SPDX-FileCopyrightText: 2018-2023 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors
# SPDX-License-Identifier: Apache-2.0
---
name: Java CI with Maven
name: Maven Build main-2.x

on:
push:
branches: [ main ]
branches: [ main-2.x ]
pull_request:
branches: [ main ]
branches: [ main-2.x ]

jobs:
build:
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Change Log
All notable changes to this project will be documented in this file.

## 2.13.7
- [token-client] Fixes regression introduced with logback dependency not having scope test

#### Dependency upgrades
- Bump org.json from to 20230227

## 2.13.6
- [env] `CFEnvironment` has migrated to use btp-environment-variable-access library for accessing configuration from VCAP_SERVICES
- [java-security] `XsUserInfoAdapter.getSystemAttribute()` supports in token `xs.system.attributes` values in string format along with string array

‼️ slf4j API version has been reverted back to 1.7.x to be in line with spring-boot 2.x supported slf4j API version

#### Dependency upgrades
* Bump spring.boot.version from 2.7.8 to 2.7.9
* Bump spring.security.version from 5.8.1 to 5.8.2

## 2.13.5
- [spring-xsuaa] improved logging for JwtAudienceValidator
- [java-security] enables token validation without zones
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The SAP Java Buildpack integrates token validation into the tomcat server. Appli
See [sap-java-builpack-api-usage](samples/sap-java-buildpack-api-usage) for an example.

### Changes with SAP Java Buildpack 1.26.0
The former SAP Java Buildpack versions have used deprecated (Spring) Security libraries and had to be updated. As of version 1.26.0 SAP Java Buildpack uses the [`java-security`](/java-security) library. Please consider these (migration) guides:
The former SAP Java Buildpack versions have used deprecated (Spring) Security libraries and had to be updated. Starting with version 1.26.0 SAP Java Buildpack uses the [`java-security`](/java-security) library. Please consider these (migration) guides:

- [MANDATORY: clean-up deprecated dependencies](https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/java-security/Migration_SAPJavaBuildpackProjects.md)
- [OPTIONAL: Leverage new APIs and features](https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/java-security/Migration_SAPJavaBuildpackProjects_V2.md)
Expand Down Expand Up @@ -67,7 +67,7 @@ Spring Boot provides OAuth resource servers. Application developers requiring au
### Requirements
- Java 8 or 11
- maven 3.3.9 or later
- as of version 2.6.1 Spring Boot >= 2.2 is required. Consequently, it also requires Spring Security version >= 5.2
- starting with version 2.6.1 Spring Boot >= 2.2 is required. Consequently, it also requires Spring Security version >= 5.2

### Sample
- See [spring-security-hybrid-usage](samples/spring-security-hybrid-usage) for an example.
Expand Down Expand Up @@ -95,4 +95,4 @@ Libraries and information provided here is around the topic of integrating with
Open an issue in GitHub.

# Licensing
Please see our [LICENSE](LICENSES/Apache-2.0.txt) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the [REUSE tool](https://api.reuse.software/info/github.com/SAP/cloud-security-xsuaa-integration).
Please see our [LICENSE](LICENSES/Apache-2.0.txt) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the [REUSE tool](https://api.reuse.software/info/github.com/SAP/cloud-security-xsuaa-integration).
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>api</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</dependency>
```
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.sap.cloud.security</groupId>
<artifactId>java-bom</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<packaging>pom</packaging>
<name>java-bom</name>

Expand Down
2 changes: 1 addition & 1 deletion env/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<groupId>com.sap.cloud.security</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<dependency>
<groupId>com.sap.cloud.security</groupId>
<artifactId>java-api</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</dependency>
```
2 changes: 1 addition & 1 deletion java-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<groupId>com.sap.cloud.security</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java-security-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<artifactId>java-security-it</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions java-security-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It includes for example a `JwtGenerator` that generates JSON Web Tokens (JWT) th
<dependency>
<groupId>com.sap.cloud.security</groupId>
<artifactId>java-security-test</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ It includes for example a `JwtGenerator` that generates JSON Web Tokens (JWT) th
Find an example on how to use the test utilities [here](/samples/java-security-usage).

### Jwt Generator
Using `JwtGenerator` you can create tokens of type [`Token`](/java-security/src/main/java/com/sap/cloud/security/token/Token.java), which offers you a `getTokenValue()` method that returns the encoded and signed Jwt token. By default its signed with a random RSA key pair (as of version `2.8.1`). In case you like to provide the token via `Authorization` header to your application you need to prefix the access token with `Bearer `.
Using `JwtGenerator` you can create tokens of type [`Token`](/java-security/src/main/java/com/sap/cloud/security/token/Token.java), which offers you a `getTokenValue()` method that returns the encoded and signed Jwt token. By default its signed with a random RSA key pair (starting with version `2.8.1`). In case you like to provide the token via `Authorization` header to your application you need to prefix the access token with `Bearer `.

```java
Token token = JwtGenerator.getInstance(Service.XSUAA, "client-id")
Expand Down Expand Up @@ -105,7 +105,7 @@ public class HelloJavaServletTest {


### JUnit 5
JUnit 5 does no longer support `Rule`. As of `java-security-test` version `2.7.8` you can implement using [JUnit 5 extensions](https://junit.org/junit5/docs/current/user-guide/#extensions) instead.
JUnit 5 does no longer support `Rule`. Starting with `java-security-test` version `2.7.8` you can implement using [JUnit 5 extensions](https://junit.org/junit5/docs/current/user-guide/#extensions) instead.


`XsuaaExtension` class as well as the `IasExtension` class implements the `BeforeAllCallback` to configure and start `WireMock` as mock server for the identity service. Furthermore, it implements the `AfterAllCallback` to stop the running server(s).
Expand Down
2 changes: 1 addition & 1 deletion java-security-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<groupId>com.sap.cloud.security</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java-security/Migration_SAPJavaBuildpackProjects.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ This comes with a change regarding scopes. For a business application A that wan
In case you face issues to apply the migration steps check this [troubleshoot](README.md#troubleshoot) for known issues and how to file the issue.

## [OPTIONAL] Leverage new API and features
You can continue [here](Migration_SAPJavaBuildpackProjects_V2.md) to understand what needs to be done to leverage the new `java-api` that is exposed by the SAP Java Buildpack as of version `1.26.1`.
You can continue [here](Migration_SAPJavaBuildpackProjects_V2.md) to understand what needs to be done to leverage the new `java-api` that is exposed by the SAP Java Buildpack starting with version `1.26.1`.
6 changes: 3 additions & 3 deletions java-security/Migration_SAPJavaBuildpackProjects_V2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

**This document is only applicable for J2EE web applications securing their application with SAP Java Buildpack.**

This migration document is a step-by-step guide explaining how to leverage the new api that is exposed by the SAP Java Buildpack as of version `1.26.1`.
This migration document is a step-by-step guide explaining how to leverage the new api that is exposed by the SAP Java Buildpack starting with version `1.26.1`.

## Prerequisites

Expand All @@ -12,7 +12,7 @@ Please note, this Migration Guide is only intended for applications, using SAP J
**Before you proceed, make sure you have completed [this guide](Migration_SAPJavaBuildpackProjects.md).**

## Adapt Maven Dependencies <a name="maven"></a>
To use the latest API exposed by SAP Java Buildpack version as of version `1.26.1` the dependency declared in maven `pom.xml` needs to be adapted.
To use the latest API exposed by SAP Java Buildpack version starting with version `1.26.1` the dependency declared in maven `pom.xml` needs to be adapted.

First make sure you have the following dependency defined in your pom.xml:
```xml
Expand All @@ -29,7 +29,7 @@ Now you are ready to **remove** the dependency to the **`api`** by deleting the
<artifactId>api</artifactId>
</dependency>
```
The dependency `com.sap.cloud.security:java-api` is the new api exposed by the SAP Java Buildpack as of version `1.26.1`.
The dependency `com.sap.cloud.security:java-api` is the new api exposed by the SAP Java Buildpack starting with version `1.26.1`.

## Adapt Environment Variable
As the new `java-api` is incompatible with the former one, you have to tell the SAP Java Buildpack, that you want to use the latest api. This is done by setting the `ENABLE_SECURITY_JAVA_API_V2` environment variable to `true` as part of your deployment descriptor, e.g. in your `manifest.yml` file.
Expand Down
6 changes: 3 additions & 3 deletions java-security/Migration_SpringSecurityProjects.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ First make sure you have the following dependencies defined in your pom.xml:
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>api</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</dependency>
<dependency>
<groupId>com.sap.cloud.security</groupId>
<artifactId>java-security</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</dependency>

<!-- new java-security dependencies for unit tests -->
<dependency>
<groupId>com.sap.cloud.security</groupId>
<artifactId>java-security-test</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<scope>test</scope>
</dependency>
```
Expand Down
8 changes: 4 additions & 4 deletions java-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ In case of XSUAA does the JWT provide a valid `jku` token header parameter that

## Supported Identity Services
- XSUAA
- as of version `2.8.0` IAS
- as of version `2.9.0` IAS tokens from multiple tenants and zones
- starting with version `2.8.0` IAS
- starting with version `2.9.0` IAS tokens from multiple tenants and zones

## Supported Algorithms

Expand All @@ -47,7 +47,7 @@ In case of XSUAA does the JWT provide a valid `jku` token header parameter that
<dependency>
<groupId>com.sap.cloud.security</groupId>
<artifactId>java-security</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -309,7 +309,7 @@ Or, alternatively in `src/main/webapp/WEB-INF/web.xml`:


#### java.util.ServiceConfigurationError: com.sap.cloud.security.token.TokenFactory: Provider com.sap.cloud.security.servlet.HybridTokenFactory not a subtype
As of version [`2.8.3`](https://github.com/SAP/cloud-security-xsuaa-integration/releases/tag/2.8.3) the version of `java-api` needs to match the version of `java-security` client library. In case you use the **SAP Java Buildpack** `java-security` is provided. To keep them in synch its recommended to use [SAP Java Buildpack BoM](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/6c6936e8e4ea40c9a9a69f6783b1e978.html) of the respective SAP Java Buildpack version and as done in the [sap-java-buildpack-api-usage sample](/samples/sap-java-buildpack-api-usage/pom.xml).
Starting with version [`2.8.3`](https://github.com/SAP/cloud-security-xsuaa-integration/releases/tag/2.8.3) the version of `java-api` needs to match the version of `java-security` client library. In case you use the **SAP Java Buildpack** `java-security` is provided. To keep them in synch its recommended to use [SAP Java Buildpack BoM](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/6c6936e8e4ea40c9a9a69f6783b1e978.html) of the respective SAP Java Buildpack version and as done in the [sap-java-buildpack-api-usage sample](/samples/sap-java-buildpack-api-usage/pom.xml).

## Specs und References
1. [JSON Web Token](https://tools.ietf.org/html/rfc7519)
Expand Down
2 changes: 1 addition & 1 deletion java-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
</parent>

<groupId>com.sap.cloud.security</groupId>
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<packaging>pom</packaging>

<name>parent</name>
Expand Down Expand Up @@ -57,15 +57,15 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.source.plugin.version>3.2.1</maven.source.plugin.version>
<!-- make sure that spring core and spring boot versions are compatible-->
<spring.boot.version>2.7.8</spring.boot.version>
<spring.boot.version>2.7.9</spring.boot.version>
<spring.core.version>5.3.25</spring.core.version>
<spring.security.version>5.8.1</spring.security.version>
<spring.security.version>5.8.2</spring.security.version>
<spring.security.oauth2.version>2.5.2.RELEASE</spring.security.oauth2.version>
<spring.security.jwt.version>1.1.1.RELEASE</spring.security.jwt.version>
<reactor.version>3.4.24</reactor.version>
<log4j2.version>2.19.0</log4j2.version>
<slf4j.api.version>2.0.6</slf4j.api.version> <!--see also here http://www.slf4j.org/faq.html#changesInVersion18 -->
<org.json.version>20220924</org.json.version>
<slf4j.api.version>1.7.36</slf4j.api.version> <!--see also here http://www.slf4j.org/faq.html#changesInVersion18 -->
<org.json.version>20230227</org.json.version>
<sap.cloud.env.servicebinding.version>0.5.2</sap.cloud.env.servicebinding.version>
<google.jsr305.version>3.0.2</google.jsr305.version>
<apache.httpclient.version>4.5.14</apache.httpclient.version>
Expand All @@ -83,7 +83,7 @@
<wiremock.version>2.35.0</wiremock.version>
<javax.annotation.version>1.3.2</javax.annotation.version>
<spotbugs.annotations.version>4.7.3</spotbugs.annotations.version>
<spotbugs.version>4.7.3.0</spotbugs.version>
<spotbugs.version>4.7.3.2</spotbugs.version>
<skipTests>false</skipTests>
<jacoco.skip>${skipTests}</jacoco.skip>
</properties>
Expand Down Expand Up @@ -383,7 +383,7 @@
<plugin>
<groupId>org.owasp</groupId> <!--scans for vulnerabilities-->
<artifactId>dependency-check-maven</artifactId>
<version>8.1.0</version>
<version>8.1.2</version>
<executions>
<execution>
<goals>
Expand Down
4 changes: 2 additions & 2 deletions samples/java-security-usage-ias/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.sap.cloud.security.xssec.samples</groupId>
<artifactId>java-security-usage-ias</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<packaging>war</packaging>

<!--profiles>
Expand All @@ -27,7 +27,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<sap.cloud.security.version>2.13.5</sap.cloud.security.version>
<sap.cloud.security.version>2.13.7</sap.cloud.security.version>
<slf4j.api.version>2.0.5</slf4j.api.version>
<apache.httpclient.version>4.5.14</apache.httpclient.version>
<javax.servlet.api.version>4.0.1</javax.servlet.api.version>
Expand Down
4 changes: 2 additions & 2 deletions samples/java-security-usage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.sap.cloud.security.xssec.samples</groupId>
<artifactId>java-security-usage</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<packaging>war</packaging>

<!--profiles>
Expand All @@ -27,7 +27,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<sap.cloud.security.version>2.13.5</sap.cloud.security.version>
<sap.cloud.security.version>2.13.7</sap.cloud.security.version>
<slf4j.api.version>2.0.5</slf4j.api.version>
<apache.httpclient.version>4.5.14</apache.httpclient.version>
<javax.servlet.api.version>4.0.1</javax.servlet.api.version>
Expand Down
4 changes: 2 additions & 2 deletions samples/java-tokenclient-usage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.sap.cloud.security.xssec.samples</groupId>
<artifactId>java-tokenclient-usage</artifactId>
<version>2.13.5</version>
<version>2.13.7</version>
<packaging>war</packaging>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<sap.cloud.security.version>2.13.5</sap.cloud.security.version>
<sap.cloud.security.version>2.13.7</sap.cloud.security.version>
<apache.httpclient.version>4.5.14</apache.httpclient.version>
<javax.servlet.api.version>4.0.1</javax.servlet.api.version>
<slf4j.api.version>2.0.5</slf4j.api.version>
Expand Down
Loading