File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Spring 3 and 2-way ssl

Brent W Farrell
Greenhorn

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.

Thanks.
Peter Mularien
Author
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!

Best,
Peter


Author, Spring Security 3 (the Book), Packt Publishing, 2010
SCJP, OCP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring 3 and 2-way ssl
 
Similar Threads
Part 2 - Security Features
Query in getting SSL session id in j2me
Spring + MVC pattern in non-web application
Call webservices from a JSF page
Preventing url hacking in a Spring/Struts application