Skip to Content.
Sympa Menu

shibboleth-dev - RE: [Shib-Dev] Obtaining user attributes from a web form at the time of authentication

Subject: Shibboleth Developers

List archive

RE: [Shib-Dev] Obtaining user attributes from a web form at the time of authentication


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: [Shib-Dev] Obtaining user attributes from a web form at the time of authentication
  • Date: Sun, 26 Oct 2008 16:50:09 -0400
  • Organization: The Ohio State University

> I have been able to understand how to write a custom login handler for
> Shibboleth (with lot of hiccups in getting xsd and configuration right :))
> and now I am onto the attributes part. As I understood from the
> documentation DataConnectors are used to retrieve data from different
> sources but in my case user attributes are to be submitted by user using a
> web form i.e they are stored in some respository.

In general, you would have to do that ahead time, store them, and then
retrieve them from the database.

> Do I have to write a DataConnector to do it ? I looked in the code how
> AttributeResolver is working and could not find a way to write a
> dataconnector which is capable of redirecting to a web page to collect
> attributes etc ?

There isn't. A connector has to handle both push and pull scenarios, and a
query wouldn't permit user interaction. That's aside from all the other
problems that might come up trying to do this.

I suppose eventually it may be useful to offer options for connectors that
just wouldn't support pull/query, but I don't think that option exists now.

-- Scott

<<attachment: winmail.dat>>




Archive powered by MHonArc 2.6.16.

Top of Page