This commit is contained in:
prabathabey 2015-12-22 23:51:46 +05:30
parent 7a27e88551
commit ed2fa14952

View File

@ -165,12 +165,15 @@ public class DynamicClientWebAppRegistrationManager {
} }
} }
//Add client credentials to the web-context //Add client credentials to the web-context
if ((oAuthAppDetails != null && oAuthAppDetails.getClientKey() != null) && !oAuthAppDetails.getClientKey().isEmpty()) { if ((oAuthAppDetails != null && oAuthAppDetails.getClientKey() != null) &&
!oAuthAppDetails.getClientKey().isEmpty()) {
DynamicClientWebAppRegistrationUtil.addClientCredentialsToWebContext(oAuthAppDetails, DynamicClientWebAppRegistrationUtil.addClientCredentialsToWebContext(oAuthAppDetails,
servletContext); servletContext);
log.info("Added OAuth application credentials to webapp context of webapp : " + if (log.isDebugEnabled()) {
log.debug("Added OAuth application credentials to webapp context of webapp : " +
webAppName); webAppName);
} }
} }
} }
} }
}