Setting Security for Your JADE Reports

You can dynamically define runtime access to the JADE Report Writer applications by implementing the required security rules in a subclass of the JadeReportWriterSecurity class in the schema from which the JADE Report Writer is run.

Using the methods provided by the JadeReportWriterSecurity class, you can set access security to the applications individually and also set access security to various parts of the applications; for example, specific folders, specific reports, and the maintenance of system formats.

By utilizing the folders feature of the JADE Report Writer, you have a ready means of maintaining a security system that ensures that users can access only the reports to which they have been assigned access permission. The canAccessFolder method enables you to assign users to or restrict users from accessing specific folders. Example code is provided later in this chapter.