mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
This commit is contained in:
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…
Reference in New Issue
Block a user