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: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] Writing an IDP extension
  • Date: Thu, 09 Oct 2008 19:57:01 +0200
  • Openpgp: id=146B2514
  • Organization: SWITCH



André Cruz wrote:
> 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?

Not that I can think of. And you really shouldn't need to worry about
those too unless you're integrating with an existing SSO system where
you need to change the behavior of the system based on those settings.
By default, as long as your handler truthfully reports if supports
forceAuth and passive auth the IdP will take care of the rest.

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

You don't have to, there are a couple optional fields you can set
though. Take a look at the Javadoc on the LoginHandler interface
currently in the head of the REL_2 branch (this is what will ship with
2.1 and what you should be developing against).
--
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