From f2653473110d558cbc2e42e99df8bed22791ca58 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Tue, 18 Dec 2012 12:08:36 -0500 Subject: [PATCH] tweaked error messages --- .../main/java/org/mitre/oauth2/web/IntrospectionEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/web/IntrospectionEndpoint.java b/openid-connect-server/src/main/java/org/mitre/oauth2/web/IntrospectionEndpoint.java index 2762fc38f..123c0968a 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/web/IntrospectionEndpoint.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/web/IntrospectionEndpoint.java @@ -116,10 +116,10 @@ public class IntrospectionEndpoint { throw new InvalidScopeException("Tried to introspect a token of different scope"); } } else { - throw new InvalidClientException("Clients can't introspect."); + throw new InvalidClientException("Client is not allowed to call introspection endpoint."); } } else { - throw new InvalidClientException("No client found."); + throw new InvalidClientException("Client not found."); } }