Skip to content

feat(auth): add support for MCSP V2 authentication #236

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

padamstx
Copy link
Member

This commit adds the MCSPV2Authenticator implementation. This authenticator will invoke the MCSP V2 POST
/api/2.0/{scopeCollectionType}/{scopeId}/apikeys/token operation to obtain an access token for a user-supplied apikey.

@padamstx padamstx self-assigned this May 21, 2025
@padamstx padamstx requested a review from pyrooka May 21, 2025 16:52
@padamstx padamstx force-pushed the mcspv2 branch 4 times, most recently from 6cc08bb to d742ae9 Compare May 22, 2025 18:54
Copy link
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

Looks pretty good!

private static final Logger LOG = Logger.getLogger(ContainerAuthenticator.class.getName());
private static final Logger LOG = Logger.getLogger(MCSPAuthenticator.class.getName());
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch!

This commit adds the MCSPV2Authenticator implementation.
This authenticator will invoke the MCSP V2 POST
/api/2.0/{scopeCollectionType}/{scopeId}/apikeys/token
operation to obtain an access token for a user-supplied
apikey.

Signed-off-by: Phil Adams <[email protected]>
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