From e840a1bd3cb14e5ec8e4a95a98d1fa94689c0851 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Fri, 10 Jun 2016 09:32:20 +0000
Subject: [PATCH] OPENDJ-3105 Fix Embedded OAuth2 RFC-7662 resolver

---
 opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2TokenIntrospectionAuthorizationMechanism.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2TokenIntrospectionAuthorizationMechanism.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2TokenIntrospectionAuthorizationMechanism.java
index 414c00a..87f6dad 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2TokenIntrospectionAuthorizationMechanism.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2TokenIntrospectionAuthorizationMechanism.java
@@ -50,7 +50,7 @@
       return newRfc7662AccessTokenResolver(
           new HttpClientHandler(toHttpOptions(config.getTrustManagerProviderDN(), config.getKeyManagerProviderDN())),
           new URI(config.getTokenIntrospectionUrl()),
-          config.getClientSecret(), config.getClientSecret());
+          config.getClientId(), config.getClientSecret());
     }
     catch (HttpApplicationException e)
     {

--
Gitblit v1.10.0