Bug 916085
| Summary: | Null pointer exception in case Authorization header is passed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Katarzyna Jachim <kjachim> |
| Component: | ovirt-engine-restapi | Assignee: | Ravi Nori <rnori> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katarzyna Jachim <kjachim> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | acathrow, dyasny, iheim, mpastern, ncredi, oramraz, Rhev-m-bugs, ykaul |
| Target Milestone: | --- | ||
| Target Release: | 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | sf13-beta2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Katarzyna Jachim
2013-02-27 09:15:30 UTC
(In reply to comment #0) > Description of problem: Null pointer exception in case Authorization header > is passed. > > > Version-Release number of selected component (if applicable): > > > How reproducible: 100% > > > Steps to Reproduce: > (done with RESTClient, Firefox add-on) > 1. set header 'Authorization' to 'admin@internal:123456' (doesn't matter if > login/password are correct or not) > 2. do not set any Authentication method > 3. GET https://kj-rh32.rhev.lab.eng.brq.redhat.com:443/api > Authorization header should look like: Authorization:Basic YWRtaW5AaW50ZXJuYWw6MTIzNDU2, you have to specify 'authorization type' by spec, also credentials are not passed as plain text, but as base64 encoded string string, anyway this is RESTeasy issue - missed 'root cause', we can defend against this in a Challenger/LoginValidator. Works OK (i.e. no Java exception) on rhevm-3.2.0-10.18.beta2.el6ev 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |