You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2020/02/07 23:02:47 UTC

[GitHub] [knox] risdenk commented on a change in pull request #257: KNOX-2214 - Periodic job to evict expired tokens

risdenk commented on a change in pull request #257: KNOX-2214 - Periodic job to evict expired tokens
URL: https://github.com/apache/knox/pull/257#discussion_r376647515
 
 

 ##########
 File path: gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/AliasBasedTokenStateService.java
 ##########
 @@ -126,9 +130,9 @@ protected void removeToken(final String token) {
 
     try {
       aliasService.removeAliasForCluster(AliasService.NO_CLUSTER_NAME, token);
-      aliasService.removeAliasForCluster(AliasService.NO_CLUSTER_NAME,token + "--max");
+      aliasService.removeAliasForCluster(AliasService.NO_CLUSTER_NAME,token + "TOKEN_MAX_LIFETIME_POSTFIX");
     } catch (AliasServiceException e) {
-      log.failedToUpdateTokenExpiration(e);
+      log.errorAccessingTokenState(e);
 
 Review comment:
   Why did this log message change?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services