New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timestamp #26
Add timestamp #26
Conversation
@@ -250,34 +253,45 @@ public void setTenant(String tenant) { | |||
} | |||
|
|||
@Override | |||
public Future<PermissionData> getUserAndExpandedPermissions(String userid, JsonArray permissions) { | |||
public Future<PermissionData> getUserAndExpandedPermissions(String userid, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.out.println("getUserAndExpandedPermissions, userid=" + userid + "permissions=" + | ||
permissions.encode()); | ||
logger.info("Retrieving permissions for userid " + userid + " and expanding permissions for " + | ||
permissions.encode()); | ||
CacheEntry[] currentCache = new CacheEntry[1]; | ||
if(cacheEntries) { | ||
currentCache[0] = cacheMap.getOrDefault(userid, null); | ||
if(key == null && userid == null && permissions != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SonarQube analysis reported 8 issues Watch the comments in this conversation to review them. 6 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
No description provided.