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

Update security-keycloak-authorization.adoc - added a note for AuthzClient Injection #25091

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

janknobloch
Copy link
Contributor

Added Note for proper Injection of AuthzClient which is only available if policy enforcer is enabled, otherwise Quarkus will not be able to inject the bean resulting into a startup error.

added Note for proper Injection of AuthzClient which is only available if policy enforcer is enabled.
@janknobloch
Copy link
Contributor Author

janknobloch commented Apr 22, 2022

hey, wanted to create a pull request on quarkusio.github.io however markdown told me to go here :

** If you are updating a guide, please submit your pull request to the main repository: https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc **

In regards to the commit, Quarkus fails and is not able to inject the AuthzClient Bean if the policy enforcer is not enabled (even if its not used), i thought this helps someone stumbling across this issue.

@geoand geoand requested a review from sberyozkin April 22, 2022 09:44
@sberyozkin
Copy link
Member

Thanks @janknobloch

@sberyozkin sberyozkin merged commit 41119c7 into quarkusio:main Apr 22, 2022
@quarkus-bot quarkus-bot bot added this to the 2.9 - main milestone Apr 22, 2022
@gsmet gsmet modified the milestones: 2.9 - main, 2.8.2.Final Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants