From 3b5ab783ed9ddf7c7b47612508cc6ab4c334375d Mon Sep 17 00:00:00 2001 From: pujavs <43700552+pujavs@users.noreply.github.com> Date: Fri, 13 May 2022 17:38:19 +0530 Subject: [PATCH] feat(jans-config-api): fixed build issue due to LocalizedString change (#1329) --- .../io/jans/configapi/rest/resource/auth/ClientsResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/ClientsResource.java b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/ClientsResource.java index 3e6dbbc8549..5f5dc9a7abd 100644 --- a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/ClientsResource.java +++ b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/ClientsResource.java @@ -116,7 +116,7 @@ public Response createOpenIdConnect(@Valid Client client) throws EncryptionExcep inum = inumService.generateClientInum(); client.setClientId(inum); } - checkNotNull(client.getClientName(), AttributeNames.DISPLAY_NAME); + checkNotNull(client.getDisplayName(), AttributeNames.DISPLAY_NAME); //scope validation checkScopeFormat(client); @@ -148,7 +148,7 @@ public Response updateClient(@Valid Client client) throws EncryptionException { } String inum = client.getClientId(); checkNotNull(inum, AttributeNames.INUM); - checkNotNull(client.getClientName(), AttributeNames.DISPLAY_NAME); + checkNotNull(client.getDisplayName(), AttributeNames.DISPLAY_NAME); Client existingClient = clientService.getClientByInum(inum); checkResourceNotNull(existingClient, OPENID_CONNECT_CLIENT);