Download the JDK
Search the Tutorials
Hide the TOC
Trail: Security Features in Java SE
Lesson: Implementing Your Own Permission
Implementing Your Own Permission
TerrysGame
The HighScore Class
The HighScorePermission Class
A Sample Policy File
Putting It All Together
Steps for the HighScore Developer (Chris)
Steps for the TerrysGame Developer (Terry)
Steps for a User Running TerrysGame (Kim)
Home Page > Security Features in Java SE > Implementing Your Own Permission
Putting It All Together

> Here, we simulate being, in turn, the `HighScore` developer (Chris), the `TerrysGame` developer (Terry), and a user (Kim) running the game.

> You can execute all the specified steps, and then (as Kim's last step) run `TerrysGame`.

> The steps are presented without explanation. For further information about the steps that need to be taken by both code signers (such as Chris and Terry) and receivers of such code (such as Kim), see the Signing Code and Granting It Permissions lesson.

> Here are the steps:

> - Steps for the HighScore Developer (Chris)

> - Steps for the TerrysGame Developer (Terry)

> - Steps for a User Running TerrysGame (Kim)

Previous page: A Sample Policy File
Next page: Steps for the HighScore Developer (Chris)