I have a requirement for cross domain sso
. So, i chose OpenAM
with SAML
. I have two applications hosted in different servers and host for which i need to implement SSO
.
Now i read about OpenAM with SAML
but could get the core idea about the setup. LDAP
is used as user data store.
Now i have something in mind and want to verify if it meets my requirement.
- Since i have two applications(
AppA
andAppB
) in need of SSO implementation. I need two OpenAM configured as service provider? and should be deployed in different tomcat containers? Should the eachservice providers
be deployed inAppA
andAppB
? - I need another separate tomcat container for
identity provider
OpenAM? - The
sp
should be registered toidp
andidp
should be registered tosp
within sameCircle of trust
?
Do i have to do anything else? Again do i have to configure separate LDAP
for each idp
and sp
? Anyway, what can be the ideal setup in my case?
You need one IdP, your apps have to implement the SP. If your apps are Java based you could leverage OpenAM's Fedlet or use Spring Security SAML extension (works like a charm).
There's also a PHP SAML SP and even an Apache http server SAML module ...
Or you could use OpenIG as a reverse-proxy (but it's a java web app) which also implements a SAML SP.
-Bernhard