This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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?

jQuery in Action, 2nd edition
subject: Struts and Realm in an Action