Skip to content

ACIdentityManager.toSubject also reconstruct from X509 DN#199

Merged
pdowler merged 2 commits intoopencadc:mainfrom
pdowler:main
Oct 24, 2025
Merged

ACIdentityManager.toSubject also reconstruct from X509 DN#199
pdowler merged 2 commits intoopencadc:mainfrom
pdowler:main

Conversation

@pdowler
Copy link
Member

@pdowler pdowler commented Oct 24, 2025

No description provided.

return ret;
}

// package access for unit test
Copy link
Contributor

Choose a reason for hiding this comment

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

JavaDoc? Why this name? Is this meant to be used directly when the original principal is sufficient?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't normally javadoc things that are internal

no, it is just pulled out of the other method so it can be unit-tested; it only gets called from the normal toSubject method and never on it's own. The comment just explains why it is package access.

I decided that the augment wasn't worth avoiding for config use since it only happens once at startup

@pdowler pdowler merged commit a7b6f73 into opencadc:main Oct 24, 2025
1 check passed
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