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

Use pac4j for auth #1060

Closed
IDerr opened this issue Sep 5, 2017 · 3 comments
Closed

Use pac4j for auth #1060

IDerr opened this issue Sep 5, 2017 · 3 comments
Assignees

Comments

@IDerr
Copy link

IDerr commented Sep 5, 2017

Hi,
I don't know if it is possible to reuse some classes of pac4j : https://github.com/pac4j/pac4j
for the authentication + authorization : #501

Thanks for your work

IDerr

@johann8384
Copy link
Member

Well, there are a few things that need to happen here. 1, the authorization framework doesn't really exist yet, but what I'm planning to do is add the support for RPC endpoints and other functionality to require a role or permission, and then for that required role or permission to be passed back to the authentication plugin to determine if the current user meets that requirement. So you'd need to write a pac4j authentication plugin once that is complete.

I'm working with Apache Shiro on other projects and will probably try to whip together a Shiro plugin for OpenTSDB.

@IDerr
Copy link
Author

IDerr commented Sep 6, 2017

Yeah, it'll be a lot easier to implement pac4j instead of reimplement each auth protocol.

Keep me in touch :)

@johann8384
Copy link
Member

#1140 finally has passing tests and implements the needed authentication framework to start this

@IDerr IDerr closed this as completed Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants