From a0937580eed7c32a0f8bf573bddb9ac8b7080e2c Mon Sep 17 00:00:00 2001 From: Puja Sharma Date: Tue, 5 Apr 2022 18:22:27 +0530 Subject: [PATCH] feat(jans-config-api): user mgmt endpoint --- .../java/io/jans/as/common/service/common/UserService.java | 2 +- jans-config-api/profiles/local/test.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jans-auth-server/common/src/main/java/io/jans/as/common/service/common/UserService.java b/jans-auth-server/common/src/main/java/io/jans/as/common/service/common/UserService.java index d69280c55ea..84f5918fbbd 100644 --- a/jans-auth-server/common/src/main/java/io/jans/as/common/service/common/UserService.java +++ b/jans-auth-server/common/src/main/java/io/jans/as/common/service/common/UserService.java @@ -64,7 +64,7 @@ public User getUserByDn(String dn, String... returnAttributes) { return persistenceEntryManager.find(dn, User.class, returnAttributes); } - public Person getUserByInum(String inum, String... returnAttributes) { + public User getUserByInum(String inum, String... returnAttributes) { if (StringHelper.isEmpty(inum)) { return null; } diff --git a/jans-config-api/profiles/local/test.properties b/jans-config-api/profiles/local/test.properties index a287b969e03..43b105ffc20 100644 --- a/jans-config-api/profiles/local/test.properties +++ b/jans-config-api/profiles/local/test.properties @@ -70,6 +70,6 @@ test.scopes=https://jans.io/oauth/config/acrs.readonly https://jans.io/oauth/con # jans.server token.endpoint=https://jans.server/jans-auth/restv1/token token.grant.type=client_credentials -test.client.id=1800.579122e0-7c35-4a68-80ad-a3121a5abf1e -test.client.secret=ljVYGAQUzUol +test.client.id=1800.5cfac798-9a5d-4a92-8efe-4cecc4f0c196 +test.client.secret=SSj633EttZdV test.issuer=https://jans.server \ No newline at end of file