This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Spring and the fly likes JaasApiIntegrationFilter sample code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "JaasApiIntegrationFilter sample code" Watch "JaasApiIntegrationFilter sample code" New topic

JaasApiIntegrationFilter sample code

Anand Natraj
Ranch Hand

Joined: May 17, 2004
Posts: 53
Hi All,

I have two apps, App1 running in Glassfish and uses JAAS authentication and App2 runs in tomcat and uses spring security. I want to authenticate app1 from app2 when a request comes to App1, and place the authetication in a security container. I looked at the spring documentation and looks like this is possibe using JaasApiIntegrationFilter when used with JaasAuthenticationProvider. Am looking for some sample code for using JaasApiIntegrationFilter, any directions or info will be highly helpful.

I agree. Here's the link:
subject: JaasApiIntegrationFilter sample code
It's not a secret anymore!