@Override public Exception decode(String methodKey, Response response) { if (response.status() >= 400 && response.status() <= 499) { throw new WebApplicationException(response.toString()); } return defaultErrorDecoder.decode(methodKey, response); }
LOG.debug("Unable to get the username from introspection of the token '" + oAuth2TokenInfo.getAccessToken() + "'. Response : '" + introspectTokenResponse.toString());