<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Folks:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m attempting to use an external auth engine on my idp. I have a service that uses voice to authenticate a user, and it is activate via a call to a restful web interface.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have followed the instructions found here: <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthExternal">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthExternal</a>, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a class, in a jar file, placed in the idp project’s WEB-INF/lib directory. This class is patterned after the UserPasswordLoginHandler class in order to get the interface to the AuthEngine right..<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have modified the idp project’s web.xml file to include a definition for the servlet, based on that class.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have modified my handler.xml file to use a LoginHandler definition that refers to the URL for this servlet.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When this is all assembled and the servers restarted, I always get to the UsernamePassword login (if there’s no active SSO session still in effect).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I suspect that I need to make some kind of addition or mod to the information in the JAAS configuration file, login.config, but the instructions on this page don’t suggest that.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve examined the community-contributed examples for x509 auth and multi-factor auth, and there are enough differences between these projects and my own, that I get more confused about what is expected. These projects delve into modifying the login.config (which is where I got the idea from) and the xsd schema. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please, I could really use some guidance on what the bare necessities are for integrating a new external authentication class into the shibboleth frame work are. I am beginning to think that my only recourse is going to be downloading the source and hacking it locally. This seems like an extremely bad idea, and I can’t believe that trying to use a published extension is really this hard. I MUST be missing something.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for listening to me vent.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Martin Pardee<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="mailto:mlp@research.att.com">mlp@research.att.com</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>