This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "JAAS integration with struts " Watch "JAAS integration with struts " New topic
Author

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
http://www.mooreds.com/jass.html.
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

regards
usha
Charles GAY
Greenhorn

Joined: Jun 11, 2004
Posts: 18
hi,
you should have a look towards the jGuard project(http://sourceforge.net/projects/jguard), which integrate jaas in j2ee environments.

sincerly yours,

charles(jGuard team).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS integration with struts
 
Similar Threads
JAAS JSP STRUTS
JSP page Authentiaction
Problem of JAAS with JDK version
Tutorial
cannot cast org apache struts action.Action?