Skip to content

Commit

Permalink
Refactor the code
Browse files Browse the repository at this point in the history
  • Loading branch information
UdeshAthukorala committed Nov 30, 2023
1 parent 3c8260c commit 81a6457
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ public void putInboundOAuthConfiguration(String applicationId, OpenIDConnectConf
*/
validateCORSOrigins(oidcConfigModel.getAllowedOrigins());
boolean isAllowUpdateSystemApps =
isAllowUpdateSystemApplicationInboundOAuthConfigs(applicationId, oidcConfigModel);
isAllowUpdateSystemAppOAuthConfigs(applicationId, oidcConfigModel);
try {
if (isAllowUpdateSystemApps) {
IdentityApplicationManagementUtil.setAllowUpdateSystemApplicationThreadLocal(true);
Expand Down Expand Up @@ -1157,8 +1157,8 @@ private boolean isAllowUpdateSystemApplication(String appName, ApplicationPatchM
* @param newOidcConfigModel New oidc config model.
* @return true if allowed.
*/
private boolean isAllowUpdateSystemApplicationInboundOAuthConfigs(String appId,
OpenIDConnectConfiguration newOidcConfigModel) {
private boolean isAllowUpdateSystemAppOAuthConfigs(String appId,
OpenIDConnectConfiguration newOidcConfigModel) {

ServiceProvider application = getServiceProvider(appId);
Set<String> systemApplications =
Expand Down

0 comments on commit 81a6457

Please sign in to comment.