Multiple Username/Password login handlers

Chad La Joie lajoie at
Wed Aug 8 15:02:21 EDT 2012

See, docs are good for something after all.  ;)

On Wed, Aug 8, 2012 at 2:59 PM, Brent Putman <putmanb at> wrote:
> On 8/8/12 10:30 AM, Chad La Joie wrote:
>>  I *think* there is a
>> configuration option that allows you to specify the name of the JAAS
>> configuration you want to use.  So you'd load the same config file in
>> both handlers.  The file would have two different configs and you'd
>> reference them in the config of each login handler.
> The config option exists, but it's not on the LoginHandler, it's
> actually a servlet parameter (jaasConfigName) on the servlet.  So for
> this scenario you have to create a second UsernamePassword servlet in
> web.xml, set param jaasConfigName on it, and then point the second
> LoginHandler at it with authenticationServletURL.  The servlet param is
> documented here:
> --
> To unsubscribe from this list send an email to users-unsubscribe at

Chad La Joie
trusted identities, delivered

More information about the users mailing list