File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Spring 3 and 2-way ssl
It's not a secret anymore!