Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: I got report with data, but met AccessControlSecurity

  1. #1
    Join Date
    Jun 2003
    Posts
    7

    Default I got report with data, but met AccessControlSecurity

    I got tablemodel and xml from servlet, and made report with them,
    above steps were both ok, report was created ok
    but when came to this code:
    com.jrefinery.report.preview.PreviewFrame frame=new com.jrefinery.report.preview.PreviewFrame(this.report);

    :idea: attention: I executed the above code in applet

    this warning dialog told me that: java.security.AccessControlSecurityException : Access denied( java.properyPermission file.encoding read )
    I knew it waw caused by Applet security control! but I wanna get rid of it , how to do it? Thank a lot! :idea:
    Make friends with me

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hi,

    you will have to either sign your applet, so that the Applet get all required security permissions, or you have to modify your policy file and grant the applet all required rights:

    http://java.sun.com/j2se/1.4.1/docs/...rmissions.html

    Have more fun,
    said Thomas

  3. #3
    Join Date
    Jun 2003
    Posts
    7

    Default Thanks a lot!

    I got it! Thanks a lot! :lol:
    Make friends with me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.