Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 REST with Spring (video course) this week in the Spring 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.

It is sorta covered in the JavaRanch Style Guide.
subject: JaasApiIntegrationFilter sample code
It's not a secret anymore!