Multiple Username/Password login handlers
cacits at rit.edu
Thu Aug 16 08:21:41 EDT 2012
Thanks Chad and Brent. I always pour over the documentation before asking any questions. It's some of the best documentation, assuming you understand the concepts.
I was close on defining the configname for the second servlet but I'm still being redirected to the default UsernamePassword servlet. I plan on picking it back up once school starts again and I have a little more time. Once I have a working config I'll post it here or on the wiki.
Information Technology Services
Rochester Institute of Technology
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Chad La Joie
Sent: Wednesday, August 08, 2012 15:02
To: Shib Users
Subject: Re: Multiple Username/Password login handlers
See, docs are good for something after all. ;)
On Wed, Aug 8, 2012 at 2:59 PM, Brent Putman <putmanb at georgetown.edu> 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 shibboleth.net
Chad La Joie
trusted identities, delivered
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users