-
Chapter 1 Java Application Security
-
What Is Security?
-
Software Used in This Book
-
The Java Sandbox
-
Security Debugging
-
Summary
-
-
Chapter 2 The Default Sandbox
-
Elements of the Java Sandbox
-
Permissions
-
Keystores
-
Code Sources
-
Policy Files
-
The Default Sandbox
-
The java.security File
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 3 Java Language Security
-
Java Language Security Constructs
-
Enforcement of the Java Language Rules
-
Comparisons with Previous Releases
-
Summary
-
-
Chapter 4 The Security Manager
-
Overview of the Security Manager
-
Operating on the Security Manager
-
Methods of the Security Manager
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 5 The Access Controller
-
The CodeSource Class
-
Permissions
-
The Policy Class
-
Protection Domains
-
The AccessController Class
-
Guarded Objects
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 6 Java Class Loaders
-
The Class Loader and Namespaces
-
Class Loading Architecture
-
Implementing a Class Loader
-
Miscellaneous Class Loading Topics
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 7 Introduction to Cryptography
-
The Need for Authentication
-
The Role of Authentication
-
Cryptographic Engines
-
Summary
-
-
Chapter 8 Security Providers
-
The Architecture of Security Providers
-
The Provider Class
-
The Security Class
-
The Architecture of Engine Classes
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 9 Keys and Certificates
-
Keys
-
Generating Keys
-
Key Factories
-
Certificates
-
Keys, Certificates, and Object Serialization
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 10 Key Management
-
Key Management Terms
-
The keytool
-
The Key Management API
-
A Key Management Example
-
Secret Key Management
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 11 Message Digests
-
Using the Message Digest Class
-
Secure Message Digests
-
Message Digest Streams
-
Implementing a MessageDigest Class
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 12 Digital Signatures
-
The Signature Class
-
Signed Classes
-
Implementing a Signature Class
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 13 Cipher-Based Encryption
-
The Cipher Engine
-
Cipher Streams
-
Sealed Objects
-
Comparison with Previous Releases
-
Summary
-
-
Chapter 14 SSL and HTTPS
-
An Overview of SSL and JSSE
-
SSL Client and Server Sockets
-
SSL Sessions
-
SSL Contexts and Key Managers
-
Miscellaneous SSL Issues
-
The HTTPS Protocol Handler
-
Debugging JSSE
-
Summary
-
-
Chapter 15 Authentication and Authorization
-
JAAS Overview
-
Simple JAAS programming
-
Simple JAAS Administration
-
Advanced JAAS Topics
-
Summary
-
-
Appendix A The java.security File
-
Appendix B Security Resources
-
Security Bugs
-
Third-Party Security Providers
-
Security References
-
-
Appendix C Identity-Based Key Management
-
Javakey
-
Identities
-
Identity Scopes
-
Key Management in an Identity Scope
-
Summary
-
-
Appendix D The Secure Java Container
-
The 1.1-Based Class Loader
-
The 1.1-Based Security Manager
-
Running Secure Applications
-
Summary
-
-
Appendix E Implementing a JCE Security Provider
-
Appendix F Quick Reference
-
Package java.security
-
Package java.security.cert
-
Package java.security.interfaces
-
Package java.security.spec
-
Package javax.crypto
-
Package javax.crypto.interfaces
-
Package javax.crypto.spec
-
Package javax.net
-
Package javax.net.ssl
-
Package javax.security.auth
-
Package javax.security.auth.callback
-
Package javax.security.auth.login
-
Package javax.security.auth.spi
-
Package javax.security.cert
-
Package com.sun.net.ssl
-
Package com.sun.security.auth
-
Package com.sun.security.auth.login
-
Package com.sun.security.auth.module
-
Miscellaneous Packages
-
-
Colophon
- Title:
- Java Security, Second Edition
- By:
- Scott Oaks
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- May 2001
- Pages:
- 622
- Print ISBN:
- 978-0-596-00157-5
- | ISBN 10:
- 0-596-00157-6
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java Security, Second Edition is a tiger (Panthera tigris). Tigers evolved in eastern Asia; like all carnivores, they descended from civet-like animals called miacids that lived 60 million years ago during the age of the dinosaurs. It is estimated that there were 100,000 tigers living in the wild at the beginning of the 20th century, but today that number has fallen to less than 7,000.
Of the original eight subspecies, the Bali, Caspian, and Javan are now extinct. The five remaining subspecies are the Siberian (also known as Amur, Manchurian, or Northeast China), South China (also known as Amoy or Chinese), Indochinese, Bengal, and Sumatran. Siberian tigers are the largest: males measure up to 10 feet 9 inches long and weigh up to 660 lbs. South China tigers, considered the evolutionary ancestor of all the subspecies, are the most critically endangered. Only 20-30 of these tigers still live in the wild, while 47 more live in zoos in China. Indochinese tigers live in remote areas of southeast Asia, and little is known about them. Bengal tigers are the most populous in the wild; the famous white tiger is a rare variant of this subspecies. Sumatran tigers are the smallest, with males measuring only 8 feet long and weighing approximately 260 lbs on average.
Tigers are the largest cats in the world. They are at the top of the food chain, and prey mainly on elk and wild boars, pigs, deer, and cattle. Tigers can be found in Russia, India, China, and throughout southeast Asia, in habitats ranging from tropical forests to mangrove swamps, tall grass jungles, and the Himalayan mountains and valleys. Their biggest threat is human predators, followed by habitat loss and population fragmentation.
Tigers are shy, nocturnal creatures. With the exception of mother tigers and their cubs, they live alone. Each adult male has a territory that usually ranges from about 10-30 square miles and overlaps the territories of several adult females. Females typically raise 1-3 cubs, which stay with her until she has her next litter. Cubs are born blind. They learn to kill at the age of 6 months, and at 15-18 months can hunt for themselves. Tigers move well on land but are also strong swimmers. They have a highly developed sense of smell, and their night vision is six times better than humans. Their stripes provide effective camouflage in grassland and forest environments and, like human fingerprints, each pattern is unique. Colleen Gorman was the production editor and proofreader, and Rachel Wheeler was the copyeditor for Java Security Second Edition. Linley Dolby provided quality control. Seth Maislin and Ellen Troutman-Zaig wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout based on a series design by Nancy Priest. The heading font is Bitstream Bodoni, the text font is ITC New Baskerville, and the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Rachel Wheeler.
Whenever possible, our books use a durable and flexible lay-flat binding. If the page count exceeds this binding's limit, perfect binding is used.
