Skip to content

Commit

Permalink
feat(jans-config-api): fixed build issue due to LocalizedString change (
Browse files Browse the repository at this point in the history
  • Loading branch information
pujavs authored May 13, 2022
1 parent c8e6027 commit 3b5ab78
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 3b5ab78

Please sign in to comment.