Skip to content

Commit 126ebf8

Browse files
Fix minor bug that prevented creating tokens with long validity period
Change-Id: I74ceb29c716628dcddff0c56990a72aa744c23c3
1 parent 0948bb1 commit 126ebf8

File tree

1 file changed

+1
-1
lines changed
  • cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/dynlog

1 file changed

+1
-1
lines changed

cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/dynlog/TokenCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void main(String[] args) throws NoSuchAlgorithmException, NoSuchPr
4444
// "TRACE", "DEBUG", "INFO", "WARN", "ERROR"
4545
String level = "TRACE";
4646
// Set a validity period in days
47-
int validityPeriodInDays = 2;
47+
long validityPeriodInDays = 2;
4848
// If available provide Base64 encoded private key here:
4949
String privateKey = "";
5050
// If available provide Base64 encoded private key here:

0 commit comments

Comments
 (0)