Vels
Vels

Reputation: 31

Securitycontext across multiple containers

I have two apps, app1 is running using multiple jars inside a war and uses spring security(digest) for authentication. app1 runs in tomcat, and i have another app running in another web container (glassfish) app2. app2 uses form based authentication. Both the apps use same username and password, i need to authenticate app1 from app2 and have the authentication results in a securitycontext. I have searched, but couln't find much info. Have some across similar scenario?? Any information will be highly appreciable.

Upvotes: 3

Views: 1356

Answers (2)

rvazquezglez
rvazquezglez

Reputation: 2454

Spring also support integration with Central Authentication Service (CAS).

There is an extension for SAML.

And another extension for OAuth.

Any of them could give you autentication across multiple apps.

Upvotes: 0

Perception
Perception

Reputation: 80633

Sounds like you need a single sign on solution. Apache Shiro has some basic SSO capabilities, but for a more robust tool you should check out JOSSO.

Upvotes: 1

Related Questions