File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
streaming-connect-common/src/main/java/com/adobe/platform/streaming/auth/impl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111# #
1212
1313group =com.adobe.platform.streaming
14- versionMain =0.0.5
14+ versionMain =0.0.6
1515versionQualifier =
1616
1717param_artifactory_user =
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ private boolean isJWTExpired() {
154154 );
155155 JSONObject tokenBodyJson = new JSONObject (tokenBody );
156156 long expiresIn = ((Number )tokenBodyJson .get (JWT_EXPIRY_KEY )).longValue ();
157- return System .currentTimeMillis () <= (expiresIn - DEFAULT_JWT_TOKEN_UPDATE_THRESHOLD );
157+ return System .currentTimeMillis () > (expiresIn - DEFAULT_JWT_TOKEN_UPDATE_THRESHOLD );
158158 } catch (UnsupportedEncodingException exception ) {
159159 LOG .error ("Exception while parsing JWT token" , exception );
160160 }
You can’t perform that action at this time.
0 commit comments