Multiple Username/Password login handlers

Clay Cooper cacits at
Wed Aug 8 10:25:14 EDT 2012

I'm trying to implement two Username/Password login handlers so I can have two different LDAP configurations. One LDAP supports one-time passwords and the other does not. I've successfully been able to implement two RemoteUser login handlers so I'm not sure where I'm failing with the UserPass ones.

My configurations are:
handler.xml -
    <ph:LoginHandler xsi:type="ph:UsernamePassword"
                  jaasConfigurationLocation="file:///opt /shibboleth/conf/tplogin.config<file:///\\opt%20\shibboleth\conf\tplogin.config>">

/opt /shibboleth/conf/tplogin.config exists with modifications based off the default login.config

web.xml -


relying-party.xml -
        <rp:ProfileConfiguration xsi:type="saml:SAML2SSOProfile"
                encryptNameIds="never" />

IdP is version 2.3.2 (I know it's not the latest version.)

When trying to authenticate using IdP initiated SSO I get passed to /idp/Authn/UserPassword instead of /idp/Authn/TPUserPassword however /idp/Authn/TPUserPassword gives me the login form.

Another issue that might be related is that the wiki says that the LoginHandler element takes an optional parameter of authenticationServletURL however the IdP fails to start and gives the error:
12:50:50.006 - ERROR [edu.internet2.middleware.shibboleth.common.config.BaseService:188] - [] - [] - Configuration was not loaded for shibboleth.HandlerManager service, error creating components.  The root cause of this error was: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'protectedServletPath' is not allowed to appear in element 'ph:LoginHandler'.

My final thought is that I'm trying to implement this in the wrong way and gladly welcome anyone to tell me so.

Clay Cooper
Systems Administrator
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.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the users mailing list