Fixed some security issues found after running FindBugs security scan.

merge-requests/7/head
Maninda 8 years ago
parent 0fb5a577b8
commit 00a5a07373

@ -48,6 +48,10 @@ public class NotificationContext {
return properties;
}
public void setProperties(Map<String, String> propertiesMap) {
properties = propertiesMap;
}
public Operation getOperation() {
return operation;
}

@ -90,6 +90,9 @@ public class JWTAuthenticator implements WebappAuthenticator {
if (requestUri == null || "".equals(requestUri)) {
authenticationInfo.setStatus(Status.CONTINUE);
}
if (requestUri == null) {
requestUri = "";
}
StringTokenizer tokenizer = new StringTokenizer(requestUri, "/");
String context = tokenizer.nextToken();
if (context == null || "".equals(context)) {

Loading…
Cancel
Save