This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Security and the fly likes JAAS integration with struts 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 » Engineering » Security
Bookmark "JAAS integration with struts " Watch "JAAS integration with struts " New topic

JAAS integration with struts

usha mocherla
Ranch Hand

Joined: Sep 24, 2004
Posts: 33
hi all,

Iam trying to integrate jaas to struts.
I downloaded jaas example from the site
and i downloades struts1.1 and kept the example:struts-exmaple into tomcat webappls.
I run the struts-example it is runned properly.
now i made changes to this to integrate jaas,which are specifed in JAAS example readme.text.
Now i tried to run the struts-example.
but it is giving me error logonForm error.
so I stuked here problem is in LogonAction class with
string username=((LogonForm)form).getUsername();

any body tried this,
then please help me

Charles GAY

Joined: Jun 11, 2004
Posts: 18
you should have a look towards the jGuard project(, which integrate jaas in j2ee environments.

sincerly yours,

charles(jGuard team).
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JAAS integration with struts
It's not a secret anymore!