From ce2c90fb30a188f47c55784f8e0b33b313cf705d Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Wed, 24 Apr 2013 12:10:59 -0400 Subject: [PATCH] fixed error messages in auth request manager --- .../openid/connect/ConnectAuthorizationRequestManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectAuthorizationRequestManager.java b/openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectAuthorizationRequestManager.java index ecc12d3e3..00776872d 100644 --- a/openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectAuthorizationRequestManager.java +++ b/openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectAuthorizationRequestManager.java @@ -142,13 +142,13 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM ClientDetailsEntity client = clientDetailsService.loadClientByClientId(clientId); if (client.getJwksUri() == null) { - throw new InvalidClientException("Client must have a JWK URI registered to use request objects."); + throw new InvalidClientException("Client must have a JWKS URI registered to use request objects."); } // check JWT signature JwtSigningAndValidationService validator = validators.get(client.getJwksUri()); if (validator == null) { - throw new InvalidClientException("Client must have a JWK URI registered to use request objects."); + throw new InvalidClientException("Unable to create signature validator for client's JWKS URI: " + client.getJwksUri()); } if (!validator.validateSignature(jwsObject)) {