Book Image

Spring Security 3.1

By : Robert Winch, Peter Mularien
Book Image

Spring Security 3.1

By: Robert Winch, Peter Mularien

Overview of this book

<p>Knowing that experienced hackers are itching to test your skills makes security one of the most difficult and high-pressure concerns of creating an application. The complexity of properly securing an application is compounded when you must also integrate this factor with existing code, new technologies, and other frameworks. Use this book to easily secure your Java application with the tried and trusted Spring Security framework, a powerful and highly customizable authentication and access-control framework.<br /><br />"Spring Security 3.1" is an incremental guide that will teach you how to protect your application from malicious users. You will learn how to cleanly integrate Spring Security into your application using the latest technologies and frameworks with the help of detailed examples.<br /><br />This book is centred around a security audit of an insecure application and then modifying the sample to resolve the issues found in the audit.<br /><br />The book starts by integrating a variety of authentication mechanisms. It then demonstrates how to properly restrict access to your application. It concludes with tips on integrating with some of the more popular web frameworks. An example of how Spring Security defends against session fixation, moves into concurrency control, and how you can utilize session management for administrative functions is also included.<br /><br />"Spring Security 3.1" will ensure that integrating with Spring Security is seamless from start to finish.</p>
Table of Contents (24 chapters)
Spring Security 3.1
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing the CAS Server


All of the changes in this section will be to the CAS Server and NOT the Calendar application. This section is only meant to be an introduction to configuring the CAS Server, as a detailed setup is certainly beyond the scope of this book. Just as with the changes for the Calendar application, we encourage you to follow along with the changes in this chapter. For more information, you can refer to the JA-SIG CAS wiki at https://wiki.jasig.org/display/CAS/Home.

CAS Maven WAR Overlay

The preferred way to customize CAS is to use a Maven War Overlay. With this mechanism, you can change everything from the UI to the method in which you authenticate to the CAS Server. The concept of a WAR overlay is simple. You add a WAR overlay, cas-server-webapp, as a Maven dependency, and then provide additional files that will be merged with the existing WAR overlay. For more information about the CAS Maven WAR Overlay, refer to the JA-SIG documentation at https://wiki.jasig.org/display...