mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed some security issues found after running FindBugs security scan.
This commit is contained in:
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…
Reference in New Issue
Block a user