Revision f24cdf08 src/gr/ebs/gss/server/rest/RequestHandler.java
b/src/gr/ebs/gss/server/rest/RequestHandler.java | ||
---|---|---|
608 | 608 |
|
609 | 609 |
// Fetch the Authorization header and find the user specified in it. |
610 | 610 |
String auth = request.getHeader(AUTHORIZATION_HEADER); |
611 |
if (auth == null) |
|
612 |
return false; |
|
611 | 613 |
String[] authParts = auth.split(" "); |
612 | 614 |
if (authParts.length != 2) |
613 | 615 |
return false; |
Also available in: Unified diff