toned down errors on introspection endpoint

pull/708/merge
Justin Richer 2015-03-10 14:58:22 -04:00
parent 65d7b00f4d
commit 5d35f2c1a6
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public class IntrospectionEndpoint {
user = userInfoService.getByUsernameAndClientId(userName, tokenClient.getClientId());
} catch (InvalidTokenException e) {
logger.info("Invalid access token. Checking refresh token.", e);
logger.info("Invalid access token. Checking refresh token.");
try {
// check refresh tokens next
@ -171,7 +171,7 @@ public class IntrospectionEndpoint {
user = userInfoService.getByUsernameAndClientId(userName, tokenClient.getClientId());
} catch (InvalidTokenException e2) {
logger.error("Invalid refresh token", e2);
logger.error("Invalid refresh token");
Map<String,Boolean> entity = ImmutableMap.of("active", Boolean.FALSE);
model.addAttribute("entity", entity);
return JsonEntityView.VIEWNAME;