amitsd Posted March 16, 2017 Share Posted March 16, 2017 Hi, I am running JRS-Pro 6.3.0 on AWS. I am embedding the report in my web app using the HTTP URL and passing j_username for authentication. This works fine when I am passing userid of the server root. But if I pass userid created under an organization, it returns the error code 400. The URL looks like below: http://<AWS IP>/jasperserver-pro/flow.html?_flowId=viewReportFlow&decorate=no&viewAsDashboardFrame=true&reportUnit=/organizations/org1/Reports/Report1&j_username=user1|org1&j_password=user@123 I have assigned this 'user1' to the role ROLE_USER and made sure that both this, user and the role are given permission 'Execute Only' for the entire organization 'org1'. Please help me resolve this. Thanks, Amit Link to comment Share on other sites More sharing options...
elizam Posted March 16, 2017 Share Posted March 16, 2017 Some app servers now enforce standrads compliance that don't allow | in URLs. Try using the encoded character %7C instead. Link to comment Share on other sites More sharing options...
amitsd Posted March 17, 2017 Author Share Posted March 17, 2017 Thank you elizam. Using %7C solved the problem. 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