Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring 3 and 2-way ssl

 
Brent W Farrell
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic