Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Spring 3 and 2-way ssl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring 3 and 2-way ssl" Watch "Spring 3 and 2-way ssl" New topic

Spring 3 and 2-way ssl

Brent W Farrell

Joined: Apr 10, 2008
Posts: 17
Hi Peter,
I am admittedly unfamiliar with Spring Security but I am interested in possibly using it in a project. I am working an application that is using 2-way ssl for user authentication. Would Spring Security be compatible with this and allow me to create role based security in my application.

Peter Mularien
Ranch Hand

Joined: Sep 06, 2007
Posts: 84
Hi Brent,

Sure, I assume by "2-way SSL", you mean the combination of standard server SSL and client certificate authentication. We definitely cover this in the book, in fact there is an entire chapter on configuring Spring Security 3 to use this method of authentication (also called X.509 authentication).

Role-based authorization can be configured independently of the authentication method you use, so you can definitely combine these two.

You may want to see my prior responses on both these subjects yesterday:
* Spring 3 and X.509 Authentication
* Extension to ACL in Spring Security
* Security RBAC

Hope this answers your question!


Author, Spring Security 3 (the Book), Packt Publishing, 2010
subject: Spring 3 and 2-way ssl
Similar Threads
Spring + MVC pattern in non-web application
Call webservices from a JSF page
Preventing url hacking in a Spring/Struts application
Part 2 - Security Features
Query in getting SSL session id in j2me