Jump to content

jasper rest Api integration with java


Recommended Posts


i want to integrate the rest Api of jasper with my java code using http client. am able to create a new organization and users by passing it  with PP parameter (eg


bt the other rest_v2 api' s are not working and return 401 status (eg ; 


Thanks for your valuable time and looking forward for your reply

Thanks & Regards, 

Lija G


Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The 401 response here looks to indicate that your user does not have sufficient permissions to execute the request. The organization should not be creatable by the regular ROLE_USER, only ROLE_ADMINISTRATOR and ROLE_SUPERUSER should be allowed to do that, as well as manage users. Have a look at the bean filterInvocationInterceptor in applicationContext-security-web.xml and applicationContext-security-pro-web.xml to see what roles are required to access certain REST endpoints.

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...