File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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?

I agree. Here's the link:
subject: Struts and Realm in an Action
It's not a secret anymore!