aspose file tools*
The moose likes Struts and the fly likes Struts and Realm in an Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and Realm in an Action" Watch "Struts and Realm in an Action" New topic

Struts and Realm in an Action

Pierre Filliolaud

Joined: Sep 20, 2005
Posts: 2

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?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Struts and Realm in an Action