Hi All,
I need to read user by username, email or key(uuid) with the admin user. What 
will be best approach?
I have used following code but giving "Could not find an Access Token for JWT 
..” error

SyncopeClientFactoryBean clientFactory = new SyncopeClientFactoryBean()
                     
.setAddress("http://localhost:9080/syncope/rest";).setDomain("Master")
                     
.setContentType(SyncopeClientFactoryBean.ContentType.JSON).setUseCompression(true);
SyncopeClient client = clientFactory.create("admin", "password");
UserService userService = client.getService(UserService.class);

UserTO userTO = userService.read("b4662c3c-3a7c-490c-a62c-3c3a7ca90c62");

Otherwise what will be the rest api to use for retrieving user data?
Thanks

Ravi


Reply via email to