File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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).
I agree. Here's the link:
subject: JAAS integration with struts
It's not a secret anymore!