Use the SAP Cloud SDK for Java to reduce development effort when building applications on SAP Business Technology Platform that communicate with SAP solutions and services such as SAP S/4HANA Cloud, SAP SuccessFactors, and many others.
Apache License 2.0
22
stars
14
forks
source link
Make TLS/SSL version upgrade handling OPTIN for OnPremise #631
https://github.com/SAP/cloud-sdk-java-backlog/issues/463
- [x] Disable automatic upgrade when using proxy (e.g. when using OnPremise)
- [x] Add optional toggle to override the behavior and force on/off.
## Fixed symptoms
* Connecting to OnPremise via SAP Cloud Connector using latest Apache HttpClient 5
* ```
>> Upgrade: TLS/1.2
>> Connection: Upgrade
<< HTTP/1.1 403 Forbidden
<<
<< "Upgrade to protocols [TLS/1.2] denied for resource [...]
```
## Definition of Done
[x] Functionality scope stated & covered
[x] Tests cover the scope above
[x] ~Error handling created / updated & covered by the tests above~
Context
https://github.com/SAP/cloud-sdk-java-backlog/issues/463 - [x] Disable automatic upgrade when using proxy (e.g. when using OnPremise) - [x] Add optional toggle to override the behavior and force on/off. ## Fixed symptoms * Connecting to OnPremise via SAP Cloud Connector using latest Apache HttpClient 5 * ``` >> Upgrade: TLS/1.2 >> Connection: Upgrade << HTTP/1.1 403 Forbidden << << "Upgrade to protocols [TLS/1.2] denied for resource [...] ``` ## Definition of Done