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:
[email protected]
With regards,
Apache Git Services