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

Proposal for predefined key access #169

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

at88mph
Copy link
Member

@at88mph at88mph commented Apr 25, 2024

Allow setting authorized Groups (empty list means nobody is allowed) in POSIX Mapper
Add reusable pre-defined key checker to access POSIX Mapper

@at88mph at88mph marked this pull request as draft May 1, 2024 22:42
@at88mph at88mph marked this pull request as ready for review May 6, 2024 19:19
@at88mph
Copy link
Member Author

at88mph commented May 6, 2024

The POSIX Mapper can now be used with a request header:
authorization: api-key {TOKEN}

Groups are also checked for Bearer tokens of authorized users.

Supports checking key files in the ${HOME}/config/keys/ folder.

posix-mapper/README.md Outdated Show resolved Hide resolved
posix-mapper/README.md Show resolved Hide resolved
posix-mapper/build.gradle Outdated Show resolved Hide resolved
posix-mapper/src/main/webapp/WEB-INF/web.xml Outdated Show resolved Hide resolved
@pdowler
Copy link
Member

pdowler commented Jul 19, 2024

the build fail is due to a new cadc-util OpenIDPrincipal ctor; the fix for cadc-access-control is in a PR but that also has incompatible changes to StandardIdentityManager and we havent' figured out versioning there. I'll figure something out right now

@pdowler
Copy link
Member

pdowler commented Jul 25, 2024

This is (overcome by events) so it's going to sit as-is until we know form sure if we need apikeys or not.

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