Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for OpenIdPrincipals with different issuers #170

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

andamian
Copy link
Contributor

No description provided.

@@ -278,11 +288,12 @@ public Subject toSubject(Object owner) {
@Override
public Object toOwner(Subject subject) {
// use NumericPrincipal aka OIDC sub for persistence
Set<NumericPrincipal> ps = subject.getPrincipals(NumericPrincipal.class);
Set<OpenIdPrincipal> ps = subject.getPrincipals(OpenIdPrincipal.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment above is now wrong; no comment needed since code is now 100% clear

@pdowler pdowler merged commit e00fab6 into opencadc:main Jul 24, 2024
1 check passed
@andamian andamian deleted the CADC-12837 branch July 24, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants