This commit is contained in:
Lucio Lelii 2016-09-22 17:07:14 +00:00
parent 0355825fb4
commit bfdb84c980
1 changed files with 2 additions and 2 deletions

View File

@ -221,10 +221,10 @@ public class DefaultAuthorizationProxy implements AuthorizationProxy {
AuthorizationEndpoint endpoint = getEndpoint(infrastructureHashFromToken);
if (cache.containsKey(realToken) && cache.get(realToken).isValid(endpoint.getClientCacheValidity())){
log.trace("valid entry found in cache for token {}, returning it",String.format("%s********",realToken.substring(0, token.length()-8)));
log.trace("valid entry found in cache for token {}, returning it",String.format("%s********",realToken.substring(0, realToken.length()-8)));
return cache.get(realToken).getEntry();
} else
log.trace("invalid entry found in cache for token {}, contacting auth service",String.format("%s********",token.substring(0, token.length()-8)));
log.trace("invalid entry found in cache for token {}, contacting auth service",String.format("%s********",realToken.substring(0, realToken.length()-8)));
final String methodPath = "/token/";