JADE Report Writer Security

The JadeReportWriterSecurity class provides a superclass for all user JadeReportWriterSecurity subclasses. Report folders containing the JADE Report Writer reports can be unsecured so that all users have access to them, or you can dynamically define runtime access to folders by implementing the required security rules in a subclass of the JadeReportWriterSecurity class in the schema in which the report is defined.

If you want to reimplement instance-based security in a JADE Report Writer report at run time, subclass the JadeReportWriterSecurity class and reimplement the methods provided by instances of that class to use the security mechanism to return an integer value that indicates the type of access that the user has.

The constants provided by this class and listed in the following table are returned by the methods in subclasses of the JadeReportWriterSecurity class.

Class Constant Integer Value Description
FULL_ACCESS 2 Allows full access to the report for definition and use
NO_ACCESS 0 No access is allowed to the report
READ_ONLY_ACCESS 1 The report can be accessed and run but the definitions cannot be changed

For more details, see the JadeReportWriterManager and JadeReportWriterSecurity classes, in Chapter 1 of the JADE Encyclopaedia of Classes.