diff --git a/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/security/JWTFilter.java b/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/security/JWTFilter.java index 82709920..df729582 100755 --- a/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/security/JWTFilter.java +++ b/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/security/JWTFilter.java @@ -245,6 +245,8 @@ private AuthUser callTokenIntroEndpoint(ContainerRequestContext requestContext, if (response.getStatusLine().getStatusCode() != 200){ logger.error("callTokenIntroEndpoint() error back from token intro host server [" + token_introspection_url + "]: " + EntityUtils.toString(response.getEntity())); + logger.info("This callTokenIntroEndpoint error can happen when your introspection token has expired. " + + "You can fix this by running the Configure PIC-SURE Token Introspection Token job in Jenkins."); throw new ApplicationException("Token Introspection host server return " + response.getStatusLine().getStatusCode() + ". Please see the log"); }