tweaked error messages

pull/263/head
Justin Richer 2012-12-18 12:08:36 -05:00
parent 18ddd8333f
commit f265347311
1 changed files with 2 additions and 2 deletions

View File

@ -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.");
}
}