SAP / cloud-security-services-integration-library

Integration libraries and samples for authenticating users and clients bound to XSUAA authentication and authorization service or Identity authentication service.
Apache License 2.0
151 stars 135 forks source link

Using reflection in code in order not to bring sprin security in the buildpack #483

Closed vnb-dev closed 3 years ago

vnb-dev commented 3 years ago

Hi Colleagues,

We needed to remove the dependencies to spring security as this was a stopper for releasing our library to the buildpack. The following PR was contributed to our team: https://github.wdf.sap.corp/audit-log-service/audit-java-client/pull/17 which unfortunately uses reflection.

We would like to move this logic into the java security libraries and to clean up our code as using reflection is considered a bad practice in our team.

nenaraab commented 3 years ago

done with #482

nenaraab commented 3 years ago

solved with https://github.com/SAP/cloud-security-xsuaa-integration/releases/tag/2.8.8 (already used in sap java buildpack)