Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts and Realm in an Action

 
Pierre Filliolaud
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have configured Realm with my webapp and it work great! But I would like to authenticate my login/pass in a Struts Action like realm.authenticate("login","pass"). How can I do? I would like to use realm parameters stocked in my server.xml..

Any idea?

Tks
paf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic