maybe you can write your custom Realm, which extends com.sun.appserv.security.AppservRealm
> On Nov 27, 2014, at 8:34 PM, Ali Gholami <gholami_at_kth.se> wrote:
>
> My web application needs uses two different custom authentication realms for two groups of users. I wonder if it is possible to have two different realms in one web.xml, eg LDAP and JDBC realms. I'm using Glassfish 3.1.2.2.
>
> Ali