pcouas_1 Posted March 2, 2016 Share Posted March 2, 2016 Hi, How could i avoid login page for executing my report ?My URL is http://xx.xxx.xxxx.xxxx:8081/jasperserver/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&ParentFolderUri=%2FReports%2FCMA&reportUnit=%2FReports%2Freport23&decorate=no&output=pdf In JasperServer i have autorised ANONYOUS user to Execute Only in Reports directory ?I have made an test with adding &LoginRequested=false at the end of url without succesRegardsPhil Link to comment Share on other sites More sharing options...
asimkin Posted March 2, 2016 Share Posted March 2, 2016 Hi,did you enable anonymous access to JasperReports Server as described in the article:http://community.jaspersoft.com/wiki/allow-anonymous-access-reports?By default, anonymous access is disabled Link to comment Share on other sites More sharing options...
javier.ggi90 Posted March 2, 2016 Share Posted March 2, 2016 You can add the following to the end of the URL: &j_username=jasperadmin&j_password=jasperadminSubstituting "jasperadmin" with whatever user and password you want. Link to comment Share on other sites More sharing options...
pcouas_1 Posted March 3, 2016 Author Share Posted March 3, 2016 Hi,d I have adder password and in url, but it's visible by customer, that's not best solution.My JasperServer is Community edittion 6.2, i think in application-security.xml i need to add ANONYMOUS but where ? <bean id="flowVoter" class="com.jaspersoft.jasperserver.api.security.FlowRoleAccessVoter"> <property name="flowAccessAttribute" value="FLOW_ACCESS"/> <property name="flowDefinitionSource"> <value> repoAdminFlow=ROLE_ADMINISTRATOR userListFlow=ROLE_ADMINISTRATOR roleListFlow=ROLE_ADMINISTRATOR editFolderFlow=ROLE_ADMINISTRATOR fileResourceFlow=ROLE_USER,ROLE_ADMINISTRATOR listOfValuesFlow=ROLE_USER,ROLE_ADMINISTRATOR reportDataSourceFlow=ROLE_USER,ROLE_ADMINISTRATOR inputControlsFlow=ROLE_USER,ROLE_ADMINISTRATOR tenantFlow=ROLE_ADMINISTRATOR createSLDatasourceFlow=ROLE_USER,ROLE_ADMINISTRATOR userEditFlow=ROLE_ADMINISTRATOR roleEditFlow=ROLE_ADMINISTRATOR queryReferenceFlow=ROLE_ADMINISTRATOR searchFlow=ROLE_USER,ROLE_ADMINISTRATOR *=ROLE_USER,ROLE_ADMINISTRATOR </value> </property> RegardsPhil 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