Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS integration with struts

 
usha mocherla
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic