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

How to bypass login in jasper server 4.0?


cathymui

Recommended Posts

Hello,

I have installed a jasperserver4.0 on my linux server yesterday, and I have created a report in jasper server using .jrxml file(created using ireport).

http://localhst:8080/jasperserver/flow.html?_flowId=viewReportFlow&_eventId_selectReport=&reportUnit=/reports/world/audit_report&p_STU_ID=8&decorate=no&or_id=4&output=pdf&img=logo.gif&ord_id=1740361

The above link will shows the created report, but i need to enter login name & password for jasperserver (see the below URL) before accessing this page........

http://localhost:8080/jasperserver/login.html

Is there any way to bypass the login page(login name & password) and directly acces the url above?

I have tried to edit the  "applicationContent-security.xml" by flow the post http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=50689

But I didnt found any section which relate to "filterInvocationInterceptor" and "anonymousProcessingFilter" in applicationContent-security.xml, is there and differences in version 4.0?

Can anyone offer any suggestions?

I would appreciate any help.....

Many thanks.

Cathy



Post Edited by cathymui at 03/10/2011 04:14



Post Edited by cathymui at 03/10/2011 04:15
Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...

ernestoo
Wrote:

You can pass in something like this with the URL to authenticate &j_username=jasperadmin&j_password=jasperadmin

when i try to access the url from our application(.jsp file using javascript window.open) in a new window here password is visible to the address bar.

So how to  encrypt the password or using applicationContext-securituy-web.xml file how to do?

 

please reply anybody knows

 

Link to comment
Share on other sites

 Try searching the forum for ROLE_ANONYMOUS in essence you'll need to configure certain elements to be seen by ROLE_ANONYMOUS and then you won't need a username/password to be passed in

Another way is to give very limited access to a certain user/role and use the URL method above

Link to comment
Share on other sites

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