Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Single Sign-On on Spring Application

I'm working on a web application under Tomcat on a Linux server and all clients are under a windows domain. I need to get the user account from the request to assign it the right role on my application. So to summarize I just need to retrieve the user account becasue the authentication is not required.

What could be the more easy framework or solution to do that? Jaas could be the solution?

Could you help me, please?

thanks,
Andrea

like image 329
Andrea Girardi Avatar asked Jul 27 '11 14:07

Andrea Girardi


2 Answers

Have you checked out Spring-Security?

http://static.springsource.org/spring-security/site/

Spring Security supports Single Sign On options using Kerberos, JNDI/LDAP, Active Directory, OAuth, OpenID, etc.

Integrate Single Sign On using Spring Security

like image 110
chubbsondubs Avatar answered Oct 07 '22 14:10

chubbsondubs


Try the Apache Shiro project, former JSecurity.

like image 37
Oh Chin Boon Avatar answered Oct 07 '22 12:10

Oh Chin Boon