Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] Writing an IDP extension

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] Writing an IDP extension


Chronological Thread 
  • From: André Cruz <>
  • To:
  • Subject: Re: [Shib-Dev] Writing an IDP extension
  • Date: Thu, 9 Oct 2008 18:34:42 +0100

In this case I'm writing a LoginHandler.

Regarding the LoginContext, I use it to know if forceAuth or isPassive is requested. Is there other fields that I should take into account?

Do I need to set any fields in it besides setting the attributes in the httpRequest (PRINCIPAL_NAME_KEY, SUBJECT_KEY, etc)?

Thanks for the help,
André

On Oct 9, 2008, at 5:17 PM, Chad La Joie wrote:

Okay, wording changed and I tried to put a little verbiage out there
about the Installation document.

Chad La Joie wrote:
The error you saw is because you didn't set the change a <version> tag
per Step 1.2.  And reading the wording I currently have for that I can
understand why.  I'll fix that up after I send this email.

As to how you chose to distribute and have people install the plugin,
that's up to you and it's going to depend on what exactly your plugin
is.  For example, a filter engine match functor is going to have a
different installation process than a login handler that requires an
additional Servlet be configured.  In the simplest case you tell people
to put the jar in the IDP src directory and re-run the installer.

Right now these instructions are solely about how to get people up and
running with building extensions.  I'd note that they aren't super
useful at the moment because the IdP artifacts aren't posted in the Shib
maven repository yet.  That'll happen with 2.1.  2.0 wasn't built with
Maven and I never took the time to do all the manual deployment of
artifacts.  Also, one of our guys here at SWITCH is writing an extension
as well and noticed some typos in the LoginHandler sub-page.  He said
he'd fix them up once he got through everything and was sure it all
worked which I suspect would probably be tomorrow.

André Cruz wrote:
Hello.

I'm writing an IDP extension and following the
https://spaces.internet2.edu/display/SHIB2/IdPDevCustomExtension guide.
It is well written but there are some things missing.

- After step 6, what next? I tried a "mvn install" but maven complained:

[INFO] Failed to resolve artifact.

Missing:
----------
1)
edu.internet2.middleware:shibboleth-identityprovider:jar:SHIBBOLETH_VERSION


Maybe the extension code should be placed somewhere related to the IDP
code?

- Where do we put additional jars that our extension needs so that they
will be copied along with the extension jar? Or does the jar get created
and then we manually copy everything to some directory in the IDP tree?

Thanks,
André


--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
, http://www.switch.ch





Archive powered by MHonArc 2.6.16.

Top of Page