<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I totally overlooked there was a whole new confluence space for plugins.  Thank you!  The totp one should be a good basis for me, as my  old 3.x authentication module was based on a TOTP extension.  </p>
<p><br>
</p>
<p>I am trying to get the old plugin to work on a completely fresh IDP4 install; it's not an upgrade and the lack of general-authn.xml was the root of my initial confusion, as that was how I wired it up in the past.  Although it sounds like there might be an
 easy button if I just a add a general-authn.xml file to a clean shibboleth 4.1 install (and probably change something else to load that file), although I still plan to look at the TOTP plugin to see if there is a cleaner way to do that.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Jeff</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Cantor, Scott <cantor.2@osu.edu><br>
<b>Sent:</b> Monday, May 10, 2021 6:19 PM<br>
<b>To:</b> Shib Users<br>
<b>Cc:</b> Krug, Jeff<br>
<b>Subject:</b> Re: Any 4.x Authentication Module Contributions/Extensions?</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">The IDPPLUGINS space has two, TOTP and the Duo plugins, the TOTP one is pretty minimal.<br>
<br>
I don't know why an existing one wouldn't be "run", that's nothing to do with the code really. The old configuration should apply just fine (you'd have a general-authn.xml file with the list of flow beans and the extension would be defined there).<br>
<br>
A *new* install is different, and the difference is outlined in the Authentication topic, but that's not the assumption if you're porting a plugin up.<br>
<br>
>I suspect that my problem is that I am not doing the IdPModule stuff correctly (that seems to be new to 4.x),<br>
> but the abstractness of that documentation left me a bit unsure of how to fix what I have. 
<br>
<br>
No, nothing to do with it. Unless you're planning to distribute and maintain the extension for others to install and upgrade, none of that is really important or all that useful.<br>
<br>
> I glanced at the 4.1 source code and idp-conf-impl project in particular, but it felt a tad overwhelming.  I'll keep<br>
> looking at it, but I am not sure I am going to figure it out from that code or not.<br>
<br>
That's not a good example to follow , it has access to things that a plugin can't. The actual plugins include the layouts that would be required to auto-register the login flow and the necessary definitions.<br>
<br>
A jar doesn't have to implement the module or plugin layers to be used, that just allows for managed installation and activation.<br>
<br>
-- Scott<br>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>