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

authentication.error : Authentication error


ainsleyzamora99

Recommended Posts

I have embedded the file and want to run it in single page html, but an authentication error appears. I have entered the correct name and password.
the code :

<script src="http://localhost:8084/jasperserver-pro/client/visualize.js"></script>

<div id="container"></div>

<script>

visualize({

auth: {

name: "jasperadmin",

password: "jasperadmin",

organization:"organization_1",

}},

function (v) {

v("#container").report({

resource: "/public/Dcc_final",

error: function(e) {

alert(e);}});});

</script>

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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