|
|
@ -352,6 +352,12 @@ public class OAuth2ServiceImpl implements OAuth2Service { |
|
|
clientsParams.remove(tenantId); |
|
|
clientsParams.remove(tenantId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void deleteSystemOAuth2ClientsParams() { |
|
|
|
|
|
adminSettingsService.deleteAdminSettingsByKey(TenantId.SYS_TENANT_ID, OAuth2Utils.OAUTH2_CLIENT_REGISTRATIONS_PARAMS); |
|
|
|
|
|
clientsParams.remove(TenantId.SYS_TENANT_ID); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public boolean isOAuth2ClientRegistrationAllowed(TenantId tenantId) { |
|
|
public boolean isOAuth2ClientRegistrationAllowed(TenantId tenantId) { |
|
|
Tenant tenant = tenantService.findTenantById(tenantId); |
|
|
Tenant tenant = tenantService.findTenantById(tenantId); |
|
|
|