eclipse-tractusx / managed-identity-wallet

Apache License 2.0
7 stars 20 forks source link

fix: check existing credential before issuing new framework credential #261

Closed neha-puraswani closed 4 months ago

neha-puraswani commented 4 months ago

Description

In the service layer, a new validation has been added that checks if a framework credential already exists with the same credential subject type for the requested holder. If the credential is present, a DuplicateCredentialProblem is thrown, else a new credential is issued.

Resolves #258

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

nitin-vavdiya commented 4 months ago

Please create PR from forked's feature branch to main branch