Working of Java Security:
Now that you understand why security characteristics are important and what categories of threats exist, it's time to learn how Java's security characteristics work and how they protect against those threats.
The Java security model is composed of three layers, every dependent on those beneath it. The subsequent sections cover each of the layers, describing how the security systems work.