Previous | Next | Trail Map | Security in JDK 1.2  | Signing Code and Granting It Permissions

Steps for the Code Receiver

Now acting as Ray, who receives the signed JAR file and the certificate file from Susan, perform the following steps:

  1. Observe the Restricted Application

  2. Import the Certificate as a Trusted Certificate, using the keytool -import command, and give it the alias "susan".

  3. Set up a Policy File to Grant the Required Permission to permit classes signed by "susan" to read the specified file.

  4. See the Policy File Effects. See how the application can now read the file.


Previous | Next | Trail Map | Security in JDK 1.2  | Signing Code and Granting It Permissions