Skip to content

Commit b293a07

Browse files
authored
bump version to 3.1.3 (#1273)
* bump version to 3.1.3 * update CHANGELOG.md
1 parent bb103c1 commit b293a07

File tree

33 files changed

+63
-45
lines changed

33 files changed

+63
-45
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 3.1.3
5+
- [java-security]
6+
- Fixes NPE when accessing `XsuaaToken.getPrincipal()` and `grantType` is null (#1261)
7+
- [token-client]
8+
- fixes JWKs fetch from identity service issue when `app_tid` is not present in the token - the `X-app_tid` and `X-client_id` headers are only added when both values are available.
9+
- `DefaultOAuth2TokenService`
10+
- fixes issue when in case of unsuccessful token fetch `OAuth2ServiceException.withHeaders()` headers field were filled with only one entry containing all headers as a string
11+
- `DefaultOAuth2TokenKeyService` and `SpringOAuth2TokenKeyService`
12+
- improved error handling
13+
- `OAuth2ServiceException` that's thrown status code != 200 case doesn't get swallowed
14+
- fixes `OAuth2ServiceException.withHeaders()` semantically incorrect behavior when headers were filled with request headers instead of response headers
15+
- `OAuth2ServiceException` generated by unsuccessful JWKs fetch contains request headers as well
16+
- `OAuth2ServiceException` updated header message - contains now `Response Headers` instead of `Headers`
17+
18+
#### Dependency upgrades
19+
- Bump spring.security.version from 6.1.2 to 6.1.3
20+
- Bump spring.boot.version from 3.1.2 to 3.1.3
21+
422
## 3.1.2
523
- [token-client]
624
- `OAuth2ServiceException` has been extended with getter method `getHeaders()` that gives the access to failed request's response headers

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The SAP Cloud Security Services Integration is published to maven central: https
124124
<dependency>
125125
<groupId>com.sap.cloud.security</groupId>
126126
<artifactId>java-bom</artifactId>
127-
<version>3.1.2</version>
127+
<version>3.1.3</version>
128128
<scope>import</scope>
129129
<type>pom</type>
130130
</dependency>

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<groupId>com.sap.cloud.security</groupId>
1010
<artifactId>java-bom</artifactId>
11-
<version>3.1.2</version>
11+
<version>3.1.3</version>
1212
<packaging>pom</packaging>
1313
<name>java-bom</name>
1414

env/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>3.1.2</version>
12+
<version>3.1.3</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

java-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<dependency>
66
<groupId>com.sap.cloud.security</groupId>
77
<artifactId>java-api</artifactId>
8-
<version>3.1.2</version>
8+
<version>3.1.3</version>
99
</dependency>
1010
```

java-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>3.1.2</version>
12+
<version>3.1.3</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

java-security-it/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>parent</artifactId>
1111
<groupId>com.sap.cloud.security.xsuaa</groupId>
12-
<version>3.1.2</version>
12+
<version>3.1.3</version>
1313
</parent>
1414

1515
<artifactId>java-security-it</artifactId>

java-security-test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ It is pre-configured with a security filter that only accepts valid tokens. Furt
4040
<dependency>
4141
<groupId>com.sap.cloud.security</groupId>
4242
<artifactId>java-security-test</artifactId>
43-
<version>3.1.2</version>
43+
<version>3.1.3</version>
4444
<scope>test</scope>
4545
</dependency>
4646
```

java-security-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>3.1.2</version>
12+
<version>3.1.3</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

java-security/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To be able to validate tokens it performs the following tasks:
6767
<dependency>
6868
<groupId>com.sap.cloud.security</groupId>
6969
<artifactId>java-security</artifactId>
70-
<version>3.1.2</version>
70+
<version>3.1.3</version>
7171
</dependency>
7272
<dependency>
7373
<groupId>org.apache.httpcomponents.client5</groupId>

0 commit comments

Comments
 (0)