Cannot resolve 'twofactor:TwoFactorLogin' to a type definition for element 'ph:LoginHandler'.
Kevin Foote
kpfoote at uoregon.edu
Tue Jun 10 11:24:15 EDT 2014
On Jun 10, 2014, at 8:14 AM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 6/10/14, 11:08 AM, "Ryan Suarez" <ryan.suarez at sheridancollege.ca> wrote:
>
>> I extracted the war and it looks like the jars are there:
>>
>> # /opt/java/bin/jar xvf idp.war
>> ...
>> created: WEB-INF/
>> inflated: WEB-INF/lib/duo.jar
>> inflated: WEB-INF/lib/twofactor-login-handler-0.2.jar
>
> Nevertheless, that's the error, so something's wrong with your deployment.
> Maybe you have an unpacked war and you're looking at the packed version.
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!
--------
thanks
kevin.foote
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list