O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Security Classes

To explain the implementation of Java security we must first understand several key terms. Java system security, in a nutshell, is concerned with protection domains as implemented by the java.security.ProtectionDomain class. A protection domain associates a code source (java.security.CodeSource) with a principal (java.security.Principal) and also associates a code source with a set of permissible actions (java.security.Permission) (see Figure 8-1).

A code source (CodeSource) represents the location where the code was loaded, what is commonly known as a codebase (java.net.URL). This could be a local file system or a network location. Associated with the code source are principals represented by the security certificates. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required