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

Posix map fix service call #68

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

at88mph
Copy link
Member

@at88mph at88mph commented Jul 9, 2024

No description provided.

@at88mph at88mph requested a review from SharonGoliath July 9, 2024 22:11
final Set<SSOCookieCredential> publicCookieCredentials = subject.getPublicCredentials(SSOCookieCredential.class);
if (!publicCookieCredentials.isEmpty()) {
final SSOCookieCredential publicCookieCredential = publicCookieCredentials.toArray(new SSOCookieCredential[0])[0];
subject.getPublicCredentials().add(new SSOCookieCredential(publicCookieCredential.getSsoCookieValue(), targetURL.getHost(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do entries in the getPublicCredentials() collection ever need cleaning up, as is done for tokens?

Copy link
Member Author

Choose a reason for hiding this comment

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

They do not. They exist only in the scope of the call to authenticate the user, then are removed.

@at88mph at88mph merged commit 3fb11be into opencadc:main Jul 10, 2024
1 of 2 checks passed
@at88mph at88mph deleted the posix-map-fix-service-call branch July 10, 2024 14:27
@at88mph at88mph restored the posix-map-fix-service-call branch July 10, 2024 17:53
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