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.
Closing, with documentation written.
http://svn.shibboleth.net/view/cpp-sp?view=revision&revision=3426http://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.
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.