Trusted Security Sample Implementation
The sample implements the Trusted model describes in Trusted Model. This implementation is similar to the default security model provided by Hawk.
Code
The sample implementation for Trusted Security is provided in the /examples/security
directory.
Compile
While compiling the security sample, your CLASSPATH must include console.jar
from TIBCO Hawk lib
folder.
Run
To enable the security for the Hawk Agent and Display, use -security_policy
.
To use a specific security policy, specify the name of the security policy class on each machine where you want to use the policy. Do not enter the file extension. For example, if your Java class file is named ASecurityPolicy.class
you would specify ASecurityPolicy
.
Ensure that this class file is bundled in a jar and placed in HAWK_HOME
/lib/ext
.