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

FELIX-6390 Refactor the default authentication mechanism of the webconsole to be a WebConsoleSecurityProvider2 #71

Merged
merged 2 commits into from
Mar 28, 2021

Conversation

enapps-enorman
Copy link
Contributor

@enapps-enorman enapps-enorman commented Feb 26, 2021

For FELIX-6390

The use case is that a webconsole plugin needs to make http requests outside of the OsgiManager servlet to retrieve some information to display in the plugin UI. The goal is that the security checking of that other endpoint would perform the same security checks that would be needed to access the webconsole itself. Reusing the WebConsoleSecurityProvider service in both places would be ideal.

The proposal is to refactor the default "basic" authentication mechanism of the webconsole into a WebConsoleSecurityProvider class and expose it as a service. A very low service.ranking of this last resort security provider should ensure that any other WebConsoleSecurityProvider component that exists would be used instead.

webconsole to be a WebConsoleSecurityProvider2
@enapps-enorman
Copy link
Contributor Author

In the interest of moving forward, would it be possible to get a review and ruling on this proposal?

@enapps-enorman
Copy link
Contributor Author

Felix Committers:  I have not gotten any feedback on the proposal,  so I'm asking again for a review and ruling on the proposal.  If you want to say no then that would be better than just ignoring the proposal.  I really need a resolution one way or the other.

Copy link
Contributor

@cziegeler cziegeler left a comment

Choose a reason for hiding this comment

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

Lgtm, thanks

@cziegeler cziegeler merged commit 2278487 into apache:master Mar 28, 2021
@enapps-enorman enapps-enorman deleted the issue/FELIX-6390 branch March 29, 2021 17:28
cziegeler pushed a commit that referenced this pull request Aug 28, 2023
webconsole to be a WebConsoleSecurityProvider2
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