You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (please complete the following information):
Output of uname -a or ver:
Microsoft Windows [Version 10.0.19041.450]
Output of java -version:
java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Quarkus version or git rev: 1.7.2.Final
Build tool (ie. output of mvnw --version or gradlew --version):
FormAuthJpaTestCase.java tests only happy path. It will nice to test when username is not exist.
If username is incorrect, generated byte code returns null. It will better to throw exception instead of returning null. QuarkusSecurityJpaProcessor.java#L172
The text was updated successfully, but these errors were encountered:
Describe the bug
Form based JPA authentication throws
NullPointerException
if username is incorrect.Expected behavior
Quarkus should be return
HTTP 403
.Actual behavior
Quarkus returns
HTTP 500
and throwsNullPointerException
.To Reproduce
Steps to reproduce the behavior:
Configuration
Environment (please complete the following information):
uname -a
orver
:java -version
:Quarkus version or git rev:
1.7.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
):Additional context
FormAuthJpaTestCase.java tests only happy path. It will nice to test when username is not exist.
If username is incorrect, generated byte code returns null. It will better to throw exception instead of returning null.
QuarkusSecurityJpaProcessor.java#L172
The text was updated successfully, but these errors were encountered: