Hey there - how did you implement security doing this? I've got this 
done and working, but obviously whenever someone copy/pastes the 
report's url - there's the report! Doh! Well, we can't allow that, so 
we'll have to do some kind of security check. We don't have a 
session, so nothing to send...

I guess I could do a remote call to flex asking for a session id, 
which is then put into the url request, checked against a list of 
session ids (recently sent out to clients) by the server, and if it's 
found let the report run.  But that seems 1) weird 2) like work.  Is 
there a standard answer for this type of url security?

I've tried throwing report paremeters in the header and doing a post, 
but Flash seems to be a picky bastage when doing this. More than 3 or 
4 headers and it doesn't seem to make the request at all. (Yet there 
is no error or warning? wth?) So I'm probably stuck using url 
parameters for report parameter input... any other options?

--- In flexcoders@yahoogroups.com, jitendra jain 
<[EMAIL PROTECTED]> wrote:
>
> Well, i have used Jasper Reports with flex. Simply i used 
navigateToURL method to call the required servlet(Java Servlet) that 
does  the process of creating the reports.
> 
> Using IReport u have created jrxml. Right
> 
> Now using JasperReports API package convert this jrxml into PDF and 
push the contents on the browser.
> 
> Let me know if u still have difficulties.
> 
> Andrew Westberg <[EMAIL PROTECTED]> 
wrote:                             I haven't done it yet, but I'll 
probably be working on this next week.  I was planning on generating 
the PDF in JasperReports server-side and downloading it into an html 
component for viewing.  Let me know if you find another solution for 
viewing PDFs in Flex.
>  
> -Andrew
> 
> 
> On Thu, May 29, 2008 at 10:54 AM, gf_baggio <[EMAIL PROTECTED]> wrote:
>                                   I am new to the Flex 3 
programming and would like to know if someone
>  has examples of how to show a jasperReport made with IReport in 
Flex 3.
>  
>  I managed to generate a jrxml report but need to know how to show 
this
>  report in Flex.
>  
>  Thanks again for your help
>  
>  
>      
>                  
>                       
> 
> 
> 
>  
>      
>                                        
> 
> 
> Thanks,
> 
> with Regards,
> Jitendra Jain
> Software Engineer
> 91-9979960798
>


Reply via email to