Creating a Java Security Class

The TIBCO Hawk security system must be implemented as a Java class, though you may choose to make this class a simple wrapper that uses the Java Native Interface (JNI) to call other security methods in a C or C++ library. The Java class must implement the HsConsoleInterface and HsAgentInterface, which are included with the TIBCO Hawk distribution.

The name of the Java class file for security must be passed to the TIBCO Hawk Console and the TIBCO Hawk agent as a command-line argument.

Once both of these processes have been started using this argument, the security policy is in force.