Jump to content
We've recently updated our Privacy Statement, available here ×

barry.hutchison

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by barry.hutchison

  1. I am implementing jasper server encryption on token authentication. To do so I have had to include jasperserver-api-common-6.2.1 inside my jasper encryption JAR that I have created to encrypt and decrypt my token. What is the license agreement around this JAR? I cant seem to find any documentation detailing this. Can I include jasperserver-api-common-6.2.1.jar inside my JAR and then inside our application?
  2. I have enabled token authentication on my server (6.2.1) and only want to permit the token to be passed through the headers NOT URL. How do I then login to visualize.js? Since the auth object of visualize.js seems to pass the auth object token property to the URL. visualize({ server: window.location.origin + '/jasperserver-pro', auth: { token: token, preAuth: true, tokenName: "pp" }}[/code]The above doesn't work. There is a headers property in the documentation but the syntax isn't clear I was hoping someone could point me in the right direction. Cheers
  3. Hello, I have implemented token based authentication on our jasper server. I am trying to secure the token authentication by only allowing the token to be used inside the header of the login and header of the visualize.js authentication. I encrypted the token by implementing the CipherI interface to secure it. Inside applicationContext-externalAuth-preAuth-mt I have changed the 'tokenInRequestParam' to false: <property name="tokenInRequestParam" value="false"/> This means the pp token can only be accepted from the headers of my request, not the URL. The problem arises when I want to authenticate with Visualise.js. Since I only want to allow the token in the headers how do I configure this for my Visualize.js login ? I have tried: visualize({ server: window.location.origin + '/jasperserver-pro', auth: { headers:{ token: token, preAuth: true, tokenName: "pp" } }},[/code]But it returns an error stating headers is an unrecognised parameter. How can I implement the visualise js login to accept the token from the header? This is for jasper server 6.2.1 Thanks.
×
×
  • Create New...