single signon + spring [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionCan anybody tell me how to implement single signon in my spring application.(Tomcat or Jboss server)
share me any documentation or link to bring this feature in my spring app.
I am using spring 2.5.6 .
Pls do the needful.
What you need is spring-security.
It supports both OpenID and CAS out of the box, but you'll need to do some research on your own on those.
If you need just basic SSO functionality I can recommend just implementing your own UsernamePasswordAuthenticationFilter
and/or AbstractPreAuthenticatedProcessingFilter
and using cookies. This answer will help you do that.
You also should have a look at the spring-security docs and then ask a more specific question if you need to.
You can use CAS (Central Authentication Service)
http://www.jasig.org/cas
If you're looking for an out of the box solution Cloudseal could be a good option as it includes single sign on, user management and two factor authentication. There is a dedicated Spring client available for the platform
N.B. I work for Cloudseal so I'm biased!
You might also want to consider Kerberos. Below is a detailed Javadoc on the same --
http://download.oracle.com/javase/1.4.2/docs/guide/security/jgss/single-signon.html
精彩评论