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

Scan for security checks #2860

Merged
merged 2 commits into from
Dec 22, 2022
Merged

Conversation

peteroyle
Copy link
Contributor

Relates to #2279

Description

This change adds a call to dictionary.scanForSecurityChecks() during application startup.

Motivation and Context

This ensures that annotated security checks are found and made available during deployment.

How Has This Been Tested?

A new test method has been added "ElideExtensionTest.java#shouldDisallowSupplierCreation()" along with a new "Supplier" entity and a "DenyCheck" security check. The Supplier entity is configured to deny creation unconditionally, and the test method asserts that this is the case.

License

I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@peteroyle peteroyle changed the title Quarkus scaffolding Scan for security checks Dec 22, 2022
@aklish aklish merged commit 5ed5482 into yahoo:QuarkusScaffolding Dec 22, 2022
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