We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01eb016 commit 1e23c86Copy full SHA for 1e23c86
src/main/java/org/privacyidea/PrivacyIDEA.java
@@ -371,6 +371,7 @@ private void retrieveAuthToken()
371
LinkedHashMap<String, String> authTokenMap = parser.extractAuthToken(response);
372
this.authToken = authTokenMap.get(AUTH_TOKEN);
373
int authTokenExp = Integer.parseInt(authTokenMap.get(AUTH_TOKEN_EXP));
374
+ log("Auth token expires in: " + (authTokenExp - System.currentTimeMillis() / 1000L) + " seconds.");
375
376
// Schedule the next token retrieval to 1 min before expiration
377
long delay = authTokenExp - 60 - System.currentTimeMillis() / 1000L;
0 commit comments