JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  September 2010

MOONSHOT-COMMUNITY September 2010

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: EAP questions

From:

Nicolas Williams <[log in to unmask]>

Reply-To:

Nicolas Williams <[log in to unmask]>

Date:

Mon, 13 Sep 2010 11:45:47 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (79 lines)

On Mon, Sep 13, 2010 at 06:26:58PM +0200, Luke Howard wrote:
> [Moving discussion to moonshot-community.]
> 
> The discussion concerns how to expose the resolved attribute state and
> assertion for cooperating applications that are also using Shibboleth.
> In the current implementation, attributes and the actual assertion are
> both available through get_gss_name_attribute() (as one would expect).
> However, it is also possible to use gss_map_name_to_any() to retrieve
> the underlying Shibboleth objects. Sam noted that this may be fragile
> owing to C++ ABI issues.

Hadn't we decided to get rid of gss_map_name_to_any()?

> > I wonder if the story for cooperating applications that want to use
> > shibboleth should look something like the following:
> > 
> > * Application sets a credential option telling the GSS mechanism  that
> >  it shouldn't do anything other than expose the assertion and RADIUS
> >  attributes
> 
> Surely this would be a context option? I'm not sure how the acceptor
> credential handle (the only credential input on the acceptor side) is
> related to how the initiator name is treated. I'm not sure if I really
> see the point of this option though unless you can identify a case
> where not resolving the assertion is useful.

The context doesn't exist on which to set the option before the context
tokens are exchanged.  You might think this is a design flaw in the
GSS-API, but IMO this is something that belongs in the credential, or,
rather, in the name (gss_name_t) object.  The name object, after all, is
bound into the credential handle as well.

Consider a library API where you can hand the library a GSS-API
credential handle to use.  Think of Cyrus SASL (which does, in fact, now
have an option for passing in a GSS-API credential handle).  How would
you handle context-level options in this case?  You can't.  The
credential has to be, and is, the explicit "template" for security
contexts that one might build into a new version of the GSS-API.

In this case I believe that the option in question should be a name
attribute.  "I want to be authenticated as Anonymous but with this one
assertion exposed" -- clearly this fits into the name attributes model.

> > * Application calls some utility function we provide that takes a
> >  gss_name_t and gives us back the appropriate shibboleth state
> 
> Naming extensions does define such a utility function,
> gss_map_name_to_any().

Actual attributes should be obtained via gss_get_name_attribute().

Attributes nested in attributes should also be obtained via
gss_get_name_attribute().

Pseudo-attributes could be obtained via gss_get_name_attribute().  But
they can be an open set, thus listing them all becomes a problem, and
that, IIRC, is ultimately the reason why I originally had
gss_map_name_to_any() (also, I guess I wanted the app developer to be
aware of the fact that a mapping is explicitly required, that an
attribute is "pseudo", not concrete).

My original intention for gss_map_name_to_any() was to use to obtain
POSIX UIDs/GIDs for SIDs that appear in the PAC.  At the time ID mapping
struck me as an explicit operation that the application should request.
But there's no reason to have a GSS-API function specifically for that:
the application could just retrieve the PAC, or the individual SIDs
listed in it, then invoke non-GSS ID mapping functions.  Or we could
have pseudo-name attributes corresponding to "POSIX UID" (and if the set
of pseudo-attributes is open, then we just don't list them, but the
application can still try to get at them).

Sam and I had a discussion about how far to go in terms of exposing
nesting of attributes, whether and how to represent the path to a given
attribute if it is nested in others, and so on.  Sam, can you summarize
our conclusions from that chat?

Nico
-- 

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager