How to authenticate to Jasper from Angular6 unable to send cookie in header

0

Is there any other way other than sending cookie to access a report from JASPER. Angular is not allowing me to add cookies in headers and I am getting 302 CORS policy issue

sadhu5282's picture
Joined: Oct 7 2019 - 2:04pm
Last seen: 1 month 1 week ago

1 Answer:

0

You have mutiple option. 
Best is the go through the document 'JasperReports-Server-REST-API-Reference.pdf'  and decide which one you want to implement. 
CHAPTER 3 AUTHENTICATION METHODS
• Overview of REST Authentication
• HTTP Basic Authentication
• The login Service
• Login Encryption
• The Security Check
• Using an SSO Token
• Using a Pre-Authentication Token
• Logout

joseng62's picture
732
Joined: Dec 5 2014 - 2:43am
Last seen: 4 days 12 hours ago
Feedback