From 9db81199300a90991c6b295751732a0fe63b0a98 Mon Sep 17 00:00:00 2001 From: Amanda Anganes Date: Wed, 17 Apr 2013 11:28:35 -0400 Subject: [PATCH] Fixed request object processing, had a small bug --- .../connect/ConnectAuthorizationRequestManager.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 bcf5b990a..365fa52ce 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 @@ -79,12 +79,12 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM String requestNonce = parameters.get("nonce"); - AuthorizationRequest request = new AuthorizationRequest(inputParams, Collections. emptyMap(), - inputParams.get(AuthorizationRequest.CLIENT_ID), - OAuth2Utils.parseParameterList(inputParams.get(AuthorizationRequest.SCOPE)), null, - null, false, inputParams.get(AuthorizationRequest.STATE), - inputParams.get(AuthorizationRequest.REDIRECT_URI), - OAuth2Utils.parseParameterList(inputParams.get(AuthorizationRequest.RESPONSE_TYPE))); + AuthorizationRequest request = new AuthorizationRequest(parameters, Collections. emptyMap(), + parameters.get(AuthorizationRequest.CLIENT_ID), + OAuth2Utils.parseParameterList(parameters.get(AuthorizationRequest.SCOPE)), null, + null, false, parameters.get(AuthorizationRequest.STATE), + parameters.get(AuthorizationRequest.REDIRECT_URI), + OAuth2Utils.parseParameterList(parameters.get(AuthorizationRequest.RESPONSE_TYPE))); //Only process if the user is authenticated. If the user is not authenticated yet, this //code will be called a second time once the user is redirected from the login page back