This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and Realm in an Action" Watch "Struts and Realm in an Action" New topic
Author

Struts and Realm in an Action

Pierre Filliolaud
Greenhorn

Joined: Sep 20, 2005
Posts: 2
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts and Realm in an Action
 
Similar Threads
Struts and JDBC/realm
Spring security: pass additional parameter when performing login
Realms and Logging Failed Attempts
3 fiels form based login authentication in Tomcat
[Newb] How to reuse attributes