Change in ovirt-engine[master]: core: Fix OAuthTokenServlet NPE
Code Review
gerrit at ovirt.org
Wed Mar 8 08:57:01 UTC 2017
>From Martin Peřina <mperina at redhat.com>:
Martin Peřina has submitted this change and it was merged.
Change subject: core: Fix OAuthTokenServlet NPE
......................................................................
core: Fix OAuthTokenServlet NPE
When logging a user's username, if the Credentials object is null, a
NullPointerException will be thrown. This patch prevents this error,
and longs the string "null" instead.
Change-Id: Ia763a9abd52f17110002fe3647972f3090da9d4c
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/servlets/OAuthTokenServlet.java
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Martin Peřina: Looks good to me, approved
Jenkins CI: Passed CI tests
Allon Mureinik: Verified
--
To view, visit https://gerrit.ovirt.org/73711
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia763a9abd52f17110002fe3647972f3090da9d4c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list