
Pro Spring Security
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
New editions

Additional editions

Content
- Cover
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- About the Technical Reviewer
- CHAPTER 1 The Scope of Security
- The Network Security Layer
- The Operating System Layer
- The Application Layer
- Authentication
- Authorization
- ACLs
- Authentication and Authorization: General Concepts
- What to Secure
- More Security Concerns
- Java Options for Security
- Summary
- CHAPTER 2 Introducing Spring Security
- What Is Spring Security?
- Where Does Spring Security Fit In?
- Spring Security and Spring
- Spring Framework: A Quick Overview
- Dependency Injection
- Aspect Oriented Programming (AOP)
- An Initial Spring Security Secured Application
- Adding Spring Security (and Spring Core Itself ) to the Project
- Spring Security Source
- Configuring the Web Project To Be Aware of Spring Security
- Understanding the Simple Application
- Summary
- CHAPTER 3 Spring Security Architecture and Design
- What Components Make Up Spring Security?
- The 10,000-Foot View
- The 1,000-Foot View
- The 100-Foot View
- The Security Interceptor
- The XML Namespace
- The Filters and Filter Chain
- ConfigAttribute
- The Authentication Object
- SecurityContext and SecurityContextHolder
- AuthenticationProvider
- AccessDecisionManager
- AffirmativeBased
- ConsensusBased
- UnanimousBased
- AccessDecisionVoter
- UserDetailsService and AuthenticationUserDetailsService
- UserDetails
- ACL
- JSP Taglib
- Good Design and Patterns in Spring Security
- Strategy Pattern
- Decorator Pattern
- SRP
- DI
- Summary
- CHAPTER 4 Web Security
- Introducing the Simple Example Application
- The Special URLs
- Custom Login Form
- Basic HTTP Authentication
- Digest Authentication
- Remember-Me Authentication
- Allowing Remember-Me Access to Selected Parts of the Application
- Logging Out
- The Session (javax.servlet.http.HttpSession) and the SecurityContext
- Beyond Simple User Roles: Using Spring Expression Language to Secure the Web Layer
- Extend with Your Own Expressions
- Switching to a Different User
- Session Management
- Using Different Pattern Matchers for Matching Requests
- Forcing the Request to HTTPS
- Using the JSP Taglib
- Role Hierarchies
- Summary
- CHAPTER 5 Securing the Service Layer
- The Limitations of Web-Level Security
- What Is Business Service-Level Security?
- Setting Up the Example for the Chapter
- How the Described Actions Happen Under the Hood
- Creating a Business Layer in Your Application
- @RolesAllowed Annotation
- Securing the Application Using SpEL Expressions
- Securing the Data Returned from a Method
- Filtering Collections Sent and Returned from Methods
- Security Defined in XML
- Security Without a Web Layer
- Using AspectJ AOP instead of Spring AOP
- Summary
- CHAPTER 6 Configuring Alternative Authentication Providers
- Database-Provided Authentication
- Creating the Basic Tables
- Using Groups
- Using Existing Schemas
- LDAP Authentication
- Installing and Configuring LDAP
- Other Attributes and Elements in the LDAP Spring Security Namespace
- Authenticating with OpenID
- Setting Up OpenID Authentication
- OpenID Authentication Flow
- Spring Security OpenID Namespace
- X.509 Authentication
- JAAS Authentication
- Central Authentication Service (CAS) Authentication
- Integrating CAS with a Different Authentication Provider
- Summary
- CHAPTER 7 Business Object Security with ACLs
- The Security Example Application
- Accessing Secured Objects
- Filtering Returned Objects
- Securing the View Layer with ACLs
- The Cost of ACLs
- Summary
- CHAPTER 8 Customizing and Extending Spring Security
- Spring Security Extension Points
- Plug into the Spring Security Event System
- Authorization-Related Events
- Authentication-Related Events
- Session-Related Events
- Your Own AuthenticationProvider and UserDetailsService
- Password Encryption
- New Voters in AccessDecisionManager
- Nonvoter AccessDecisionManager Implementations
- New Expression Root and SpEL
- Non-JDBC AclService
- Custom Security Filter
- Handling Errors and Entry Points
- Changing the Security Interceptor
- Spring Security Extensions Project
- Summary
- CHAPTER 9 Integrating Spring Security with Other Frameworks and Languages
- Spring Security with Struts 2
- Spring Security with Spring Web Flow
- SpEL-Based Security with Spring Web Flow
- Spring Security in Other JVM Languages
- Spring Security and Ruby (JRuby)
- Web-Layer Security in Rails
- Spring Security, Groovy, and Grails
- Using Grails to Secure the Web Layer with URL Rules
- Using Grails Security at the Method Level
- Spring Security and Scala
- Summary
- Index
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.