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.:)
-------- Original Message --------
Subject: Struts 2/Geronimo Security Realm best practices
From: Java_James <firstname.lastname@example.org>
Date: Mon, June 25, 2007 3:53 pm
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
use Geronimo's security realm.
I'm hoping to be able to call the security realm through an action (or
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.
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.