john.doe1991 Posted January 16, 2015 Share Posted January 16, 2015 Hi colleagues!I've just setup SSO solution and integrated my application with JSR through CAS Jasig. I've noticed that roles are synchronized only when I'm logging in application with external user one by one.Do we have an ability to import all the roles separately in JSR? Is it possible to write custom synchronizer or so?Thank you! Link to comment Share on other sites More sharing options...
ernestoo Posted January 16, 2015 Share Posted January 16, 2015 I suppose you could use the REST APi to create your usersDo a PUT to http://localhost:8080/jasperserver-pro/rest_v2/organizations/organization_1/users/ernestowith something like this:{ "fullName":"Joe User", "emailAddress":"juser@example.com", "enabled":true, "externallyDefined":true, "password":"mySecretPassword", "roles":[ {"name":"ROLE_USER"}] }[/code] 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