prabathabey 9 years ago
parent 7a27e88551
commit ed2fa14952

@ -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);
} }
} }
} }
} }
}
Loading…
Cancel
Save