amayr Posted March 11, 2010 Share Posted March 11, 2010 I want to synchronize users from our application with the users in jasperserver.Ok, a simple question:How do I get a UserAndRoleManagement instance?I want to call putUser on this object... Code:WSUser user = new WSUser();user.setPassword("");user.setUsername("");UserAndRoleManagement manager = ???;manager.putUser(user); Link to comment Share on other sites More sharing options...
wildman8888 Posted June 7, 2012 Share Posted June 7, 2012 I am also realy strugelling with this issue. Where is the instance, which jar is it in. I want todo exactly the same thing, have spent the entire day on this with no result Link to comment Share on other sites More sharing options...
wildman8888 Posted June 11, 2012 Share Posted June 11, 2012 The Documentation has the following example of how to add a user from WebServices. What is the setting for "binding" Where and How is it declared? Code:WSUser user = new WSUser(); user.setUsername("john"); user.setTenantId("organization_1"); user.setEnabled(true); user.setFullName("John Doe"); WSRole role = new WSRole(); role.setRoleName("ROLE_ANONYMOUS"); role.setTenantId(null); user.setRoles(new WSRole[] {role}); WSUser value = binding.putUser(user); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now