users@glassfish.java.net

[gf-users] Re: multiple login-config in web.xml

From: William <streetpoet_at_163.com>
Date: Fri, 28 Nov 2014 14:05:55 +0800

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