Support for binary attributes in resolver

Description

Reported by Luke Howard, moved from old Jira.

There's a case where I'd like to map a binary GSS attribute using the Shibboleth resolver. Support for binary attributes would be useful.

Environment

None

Activity

Show:

Scott Cantor February 11, 2012 at 3:30 AM

Closing, with documentation written.

Scott Cantor May 27, 2011 at 8:27 PM

http://svn.shibboleth.net/view/cpp-sp?view=revision&revision=3426
http://svn.shibboleth.net/view/cpp-sp?view=revision&revision=3427

Add binary="true" to GSS attribute mappings and it will base64 encode the value.

http://svn.shibboleth.net/view/cpp-sp?view=revision&revision=3432

To detect binary attributes, dynamic_cast to BinaryAttribute and you can access the raw value with the getValues() method. getSerializedValues will still return the base64-encoded values.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created May 27, 2011 at 8:26 PM
Updated February 11, 2012 at 3:30 AM
Resolved May 27, 2011 at 8:27 PM