github-advanced-security[bot] commented on code in PR #881:
URL: https://github.com/apache/ofbiz-framework/pull/881#discussion_r1977448049


##########
framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/JWTManager.java:
##########
@@ -404,4 +404,18 @@
         }
         return result;
     }
+
+    public static String createRefreshToken(Delegator delegator, String 
userLoginId) {
+        int refreshTokenExpireTime = 
Integer.parseInt(EntityUtilProperties.getPropertyValue("security",
+                "security.jwt.refreshToken.expireTime", "86400", delegator));

Review Comment:
   ## Insecure randomness
   
   Potential Insecure randomness due to a [Insecure randomness source.](1).
   
   [Show more 
details](https://github.com/apache/ofbiz-framework/security/code-scanning/1837)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to