Cannot resolve 'twofactor:TwoFactorLogin' to a type definition for element 'ph:LoginHandler'.
Ryan Suarez
ryan.suarez at sheridancollege.ca
Tue Jun 10 10:23:25 EDT 2014
On 2014-06-09, at 9:46 PM, Cantor, Scott wrote:
> On 6/9/14, 7:56 PM, "Ryan Suarez" <ryan.suarez at sheridancollege.ca> wrote:
>>
>> I have /opt/shibboleth-idp/lib/twofactor-login-handler-0.2.jar which
>> contains this schema definition:
>
> That has nothing to do with the classes available to the IdP, only what's
> in the war counts.
Thanks Scott. This is in the web.xml:
<!-- DUO Two Factor Authentication -->
<servlet>
<servlet-name>TwoFactorLoginHandler</servlet-name>
<servlet-class>com.duosecurity.shibboleth.idp.twofactor.TwoFactorLoginServlet</servlet-class>
<init-param>
<param-name>authnMethod</param-name>
<param-value>urn:sheridancollege.ca:ac:classes:PasswordProtectedTransport:duo</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>TwoFactorLoginHandler</servlet-name>
<url-pattern>/Authn/DuoUserPassword</url-pattern>
</servlet-mapping>
…and the handler.xml:
<!-- DUO -->
<ph:LoginHandler xsi:type="twofactor:TwoFactorLogin"
jaasConfigurationLocation="file:///opt/shibboleth-idp/conf/login.config"
skey="erJSK38gfSCEXVMv7gEvyiC5yzgQJsVyLmp0req6" ikey="DIHZZRH3WS52M5U7O0TB" akey="71aa079bd24934e7df875916eff0c1008f2fcb56" host="api-38a2864c.duosecurity.com">
<ph:AuthenticationMethod>urn:sheridancollege.ca:ac:classes:PasswordProtectedTransport:duo</ph:AuthenticationMethod>
</ph:LoginHandler>
More information about the users
mailing list