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

Security CDI extension has higher priority #2299

Merged
merged 5 commits into from
Aug 31, 2020

Conversation

tomas-langer
Copy link
Member

Abac now correctly handles validator config

Security MP service must have higher priority than services exposing endpoints (such as metrics, health), so we can protect these endpoints.

In addition when an endpoint was protected using abac, each validator tried to read the configuration and time validator threw an exception.

Resolves #2296
Resolves #2297
For 2.x

I have modified priorities of services that configure endpoint to be library before, so they are configured before application (metrics, health, openapi) and security, which must be configured before them (to be able to protect these endpoints)

Abac now correctly handles validator config
Other services that expose endpoints have changed priority
Abac now correctly handles validator config
Other services that expose endpoints have changed priority
@tomas-langer tomas-langer added the 2.x Issues for 2.x version branch label Aug 28, 2020
@tomas-langer tomas-langer self-assigned this Aug 28, 2020
@tomas-langer tomas-langer added bug Something isn't working security labels Aug 28, 2020
@tomas-langer tomas-langer merged commit ce55964 into helidon-io:master Aug 31, 2020
@tomas-langer tomas-langer deleted the 2297-abac branch August 31, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch bug Something isn't working security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abac time fails even when not configured Security MP service not triggered for metrics
2 participants