-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Docs: security-customization Guide #37569
Comments
/cc @sberyozkin (security) |
It does, you can find out by sending HTTP request without credentials that will succeed. Security checks are skipped. |
With this information I adding problem to the list. Method in Disabling Authorization snippet working incorrectly as we setup property
This solution will work if we set When testing this I found out that I can't have the Edit: when I thinking about the disable by class the property should be defined as true and not change the method. With that it make more sense. |
Just tweak priority - |
Describe the bug
Going through the security-customization guide I found some issues.
- Don't have any imports
- There is problem with wrong return type of one of the overridden method. As not
Uni
method is deprecated I think that it should look like this- Don't have any imports
- The text talking about priorities but which number for them is better higher or lower. In sense when I select number 1 as in snippet will be used as last mechanism? It would be nice to have one sentence to explain this.
- Snippet for mtls missing import
java.util.Collections
- Snipet for
SecurityIdentitySupplier
missing the definition ofUserRoleEntity
. Can't say what it should contain from this.- Snippet for mtls missing import
java.io.IOException
- Don't have any imports
- When testing this I'm not sure if this should "disable/override"
@RolesAllowed
and@DenyAll
and by that allow anyone to access the endpoints.- The
In Quarkus you can achieve the same at the configuration level only without having to modify the code, for example:
For me something is off with the wordsonly
andwithout
going after each other. Maybe removeonly
or add comma between them.For the imports: As I would prefer consistency with the imports, here are some which have the imports and some which missing all imports. It would be nice to have them consistent (at the moment have the imports)
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: