Chapter 7. Customizing the Security Architecture

The office of government is not to confer happiness, but to give men opportunity to work out happiness for themselves.

—William Ellery Channing

This chapter demonstrates ways to augment the security architecture. We explain how to develop custom implementations of the various security classes that support either extensibility or substitution mechanisms. We also describe the mechanics of implementing a custom Permission class, extending the functionality of the SecurityManager class, implementing a custom Policy provider, and implementing a DomainCombiner interface.

Get Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.