Jump to content
Changes to the Jaspersoft community edition download ×

SSO solution - External roles synchronization


john.doe1991

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I suppose you could use the REST APi to create your users

Do a PUT to http://localhost:8080/jasperserver-pro/rest_v2/organizations/organization_1/users/ernesto

with 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...