Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CXF-7264: NPE on OAuth RO/CC flows using JPA
* UserSubject can already be an OidcUserSubject in database while in current request (when using RO flow) it is a UserSubject. Merging UserSubject produces an error. We fix this by avoiding merge when userSubject already exists in db. * client.subject can be null when using CC flow.
- Loading branch information
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters