Add the realm module as a dependency in your geronimo-application.xml like:
         ...
          <dependencies>
<dependency>
<groupId>console.realm</groupId>
<artifactId>derby_security_realm</artifactId>
<version>1.0</version>
<type>car</type>
</dependency>
...
</dependencies>
...
Hope this helps.

Jeff

On Fri, Apr 2, 2010 at 4:30 AM, Sarah.kho <sarah.kho@gmail.com> wrote:

Thank you Chi.

Can you please let me know how we can determine one security realm for all
modules included in the ear file?

i know that it has something to do with the geronimo-application.xml but no
more details.

thanks.
--
View this message in context: http://n3.nabble.com/how-to-add-authentication-to-a-web-application-tp681613p691598.html
Sent from the Users mailing list archive at Nabble.com.