cathymui Posted March 10, 2011 Share Posted March 10, 2011 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=1740361The 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.htmlIs 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=50689But 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.CathyPost Edited by cathymui at 03/10/2011 04:14Post Edited by cathymui at 03/10/2011 04:15 Link to comment Share on other sites More sharing options...
ernestoo Posted March 10, 2011 Share Posted March 10, 2011 You can pass in something like this with the URL to authenticate &j_username=jasperadmin&j_password=jasperadmin Link to comment Share on other sites More sharing options...
cathymui Posted March 11, 2011 Author Share Posted March 11, 2011 Hi ernestoo,Thanks for your suggestion, but I dont want the user ID and PWD shows on the URL.Is there any other way to bypass the login page? Link to comment Share on other sites More sharing options...
franzkrauth Posted March 18, 2011 Share Posted March 18, 2011 I am looking for the solution to this too... any news? Link to comment Share on other sites More sharing options...
franzkrauth Posted March 18, 2011 Share Posted March 18, 2011 Found it! They split the file - its now in applicationContext-security-web.xml Link to comment Share on other sites More sharing options...
cathymui Posted March 18, 2011 Author Share Posted March 18, 2011 Oh, got it, thanks franzkrauth! Link to comment Share on other sites More sharing options...
nageswari Posted June 13, 2011 Share Posted June 13, 2011 How to bypass login page from applicationContext--security-we.xmlwhere i want to change the code Link to comment Share on other sites More sharing options...
nageswari Posted June 13, 2011 Share Posted June 13, 2011 ernestooWrote: 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 More sharing options...
ernestoo Posted June 13, 2011 Share Posted June 13, 2011 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 inAnother 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now