O'Reilly logo

Java Security by Scott Oaks

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

Conventions Used in This Book

Constant width font is used for:

  • Code examples

  • Class, variable, and method names within the text

Italicized font is used for:

  • Filenames

  • Host and domain names

  • URLs

When a new method or class is introduced, its definition will appear beginning with italicized text like this:

public void checkAccess(Thread t)

Check whether the current thread is allowed to modify the state of the parameter thread.

In addition, one of the following symbols may appear next to a definition:

Conventions Used in This Book Indicates that the method/class is available only in 1.2.
Conventions Used in This Book Indicates that the method/class has been deprecated in 1.2.

There are some examples of commands scattered through the book, especially in sections and appendices that deal with administration. By convention, all examples are shown as they would be executed on a Unix system, e.g.:

piccolo% keytool -export -alias sdo -file /tmp/sdo.cer
Enter keystore password:  ******
Certificate stored in file </tmp/sdo.cer>

In these examples, the text typed by the user or administrator is always shown in bold font; the remaining text is output from the command (the string piccolo% indicates a command prompt). On other systems, the names of the files would have to be changed to conform to that system (e.g., C:\sdo.cer for a Windows system). However, note that while Windows systems often use a forward-slash (/) for command-line options, Java tools (even on those systems) universally use a hyphen (-) to indicate command-line options. In these examples, then, only the filenames are different between platforms.

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