Multiple Username/Password login handlers

Brent Putman putmanb at georgetown.edu
Wed Aug 8 14:59:03 EDT 2012


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:

https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthUserPass#IdPAuthUserPass-UsingaDifferentJAASConfiguration


More information about the users mailing list