A nice example of defining Realms and Roles exists in the sample applications.
I'm using Struts 1.2 with a MySQL Backed Security Realm. The real trick involves setting up a login page with the proper form that submits to j_security_check along with setting up the security realm and the roles in web.xml/geronimo-web.xml. If you've cheked out the sample and have more specific questions, post them and we'll give a shot at a right answer.:)
Mark Aufdencamp
-------- Original Message --------
Subject: Struts 2/Geronimo Security Realm best practices
From: Java_James <[EMAIL PROTECTED]>
Date: Mon, June 25, 2007 3:53 pm
To: [email protected]Hi all, I'm new to the world of struts 2 and geronimo. I was wondering if there were any best practices when it came to setting up your web application to use Geronimo's security realm. I'm hoping to be able to call the security realm through an action (or some sort of wrapped object doing the authentication). There seems to be very little documentation on using the two technologies together. Any help would be appreciated. Thanks. -- View this message in context: http://www.nabble.com/Struts-2-Geronimo-Security-Realm-best-practices-tf3978596s134.html#a11294301 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
