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

james.perry

Members
  • Posts

    4
  • 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

Posts posted by james.perry

  1. I'm trying to access the rest_v2 endpoint (mainly because it supports JSON) but I keep getting an error that states "Full authentication is required to access this resource".

    For example:

    $ curl -u superuser:superuser -H 'Accept: application/json' http://localhost:8080/jasperserver-pro/rest_v2/permissions/
    Full authentication is required to access this resource
     
    What am I doing wrong here?
     
    This is a v5.2 instance of JRS.
     
    Thx
  2. Create a parameter called something like PROTOCOL and drop this expression in it.

    $P{JASPER_REPORT}.getProperty("ireport.jasperserver.url" ).split( ":" )[0]

    This will give you either HTTP or HTTPS depending on how the user is accessing the platform.

    Then alter any hardcoded URLs to include $P{PROTOCOL}.

    e.g.  <![CDATA[$P{PROTOCOL}://localhost:8080/blah/blah/blah]]'

×
×
  • Create New...