-
Dec 5th, 2010, 03:48 AM
#1
Spring Security: 2 login method in a web app
Hi all,
I've a problem. I develop an application that has two login. First login uses user/pwd stored on LDAP. Second login is an authentication with certificates.
How can I develop this two method with spring security? It's possible?
Thanks
-
Dec 6th, 2010, 07:43 AM
#2
Yes, you can add both X.509 and form-login mechanisms to the filter chain. If a user supplies a client certificate that will be used, otherwise they will be prompted to login.
-
Dec 7th, 2010, 09:30 AM
#3
Thanks,
can you give me an example, please?
I'm newby of spring security
-
Dec 7th, 2010, 09:47 AM
#4
Both are explain in the reference manual, and form-login is used in the "tutorial" sample application, for example. I would start by running that application and then adding X.509 authentication to it.
If you can be more specific about what you want to know then please post a follow-up question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules