Cannot resolve 'twofactor:TwoFactorLogin' to a type definition for element 'ph:LoginHandler'.

Ryan Suarez ryan.suarez at sheridancollege.ca
Tue Jun 10 12:26:15 EDT 2014


On 2014-06-10, at 11:24 AM, Kevin Foote wrote:
> According to your first email in this thread you are missing something in your config def.  The top of your handler.xml should be as follows:
> 
> <ph:ProfileHandlerGroup xmlns:ph="urn:mace:shibboleth:2.0:idp:profile-handler" 
>                        xmlns:twofactor="http://duosecurity.com/2012/shibboleth/idp/twofactor"
>                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                        xsi:schemaLocation="urn:mace:shibboleth:2.0:idp:profile-handler classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd
>                                            http://duosecurity.com/2012/shibboleth/idp/twofactor classpath:/schema/shibboleth-2.0-idp-twofactor-login-handler.xsd
> 
> 
> I just did this a bit ago so I know this block works!
> 


Doh!  That was my problem.  I was missing "http://duosecurity.com/2012/shibboleth/idp/twofactor classpath:/schema/shibboleth-2.0-idp-twofactor-login-handler.xsd" in xsi:schemaLocation.   I'm good to go now.  Thanks Kevin!

-Ryan


More information about the users mailing list