PacktLib: Spring Security 3.x Cookbook

Spring Security 3.x Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Basic Security

Introduction

JAAS-based security authentication on JSPs

JAAS-based security authentication on servlet

Container-based basic authentication on servlet

Form-based authentication on servlet

Form-based authentication with open LDAP and servlet

Hashing/Digest authentication on servlet

Basic authentication for JAX-WS and JAX-RS

Enabling and disabling the file listing

Spring Security with Struts 2

Introduction

Integrating Struts 2 with Spring Security

Struts 2 application with basic Spring Security

Using Struts 2 with digest/hashing-based Spring Security

Using Spring Security logout with Struts 2

Authenticating databases with Struts 2 and Spring Security

Getting the logged-in user info in Struts 2 with Spring Security

Displaying custom error messages in Struts 2 for authentication failure

Authenticating with ApacheDS with Spring Security and Struts 2 application

Spring Security with JSF

Introduction

Integrating JSF with Spring Security

JSF with form-based Spring Security

JSF and form-based authentication using Spring Security to display logged-in user

Using JSF with digest/hashing-based Spring Security

Logging out with JSF using Spring Security

Authenticating database with Spring Security and JSF

ApacheDS authentication with JSF and Spring Security

Authentication error message with JSF and Spring Security

Spring Security with Grails

Introduction

Spring Security authentication with Groovy Grails setup

Spring Security with Grails to secure Grails controller

Spring Security authentication with Groovy Grails logout scenario

Spring Security with Groovy Grails Basic authentication

Spring Security with Groovy Grails Digest authentication

Spring Security with Groovy Grails multiple authentication

Spring Security with Groovy Grails LDAP authentication

Spring Security with GWT

Introduction

Spring Security with GWT authentication using Spring Security Beans

Form-based authentication with GWT and Spring Security

Basic authentication with GWT and Spring Security

Digest authentication with GWT and Spring Security

Database authentication with GWT and Spring Security

LDAP authentication with GWT and Spring Security

Spring Security with Vaadin

Introduction

Spring Security with Vaadin – basic authentication

Spring Security with Vaadin – Spring form-based authentication

Spring Security with Vaadin – customized JSP form-based authentication

Spring Security with Vaadin – using Vaadin form

Spring Security with Wicket

Introduction

Spring Security with Wicket – basic database authentication

Spring Security with Wicket – Spring form-based database authentication

Spring Security with Wicket – customized JSP form-based database authentication

Spring authentication with Wicket authorization

Multitenancy using Wicket and Spring Security

Spring Security with ORM and NoSQL DB

Introduction

Spring Security with Hibernate using @preAuthorize annotation

Spring Security with Hibernate using authentication provider with @preAuthorize annotation

Spring Security with Hibernate using UserDetailsService with Derby database

Spring Security with MongoDB

Spring Security with Spring Social

Introduction

Spring Security with Spring Social to access Facebook

Spring Security with Spring Social to access Twitter

Spring Security with multiple authentication providers

Spring Security with OAuth

Spring Security with Spring Web Services

Introduction

Applying Spring Security on RESTful web services

Spring Security for Spring RESTful web service using the cURL tool

Integrating Spring Security with Apache CXF RESTful web service

Integrating Spring Security with Apache CXF SOAP based web service

Integrating Spring Security with Apache Camel

More on Spring Security

Introduction

Spring Security with multiple authentication providers

Spring Security with multiple input authentications

Spring Security with Captcha integration

Spring Security with JAAS

Index