Encoded principle attribute
Mackay, Rob
Rob.Mackay at ellucian.com
Mon May 2 13:21:18 EDT 2016
My product has supported Office 365 authentication via Shibboleth SAML2 integration for several years but a recent regression testing exposed that this feature is not working.
The configuration is the same as in previous releases but I did notice the principle being returned
filter = (uid=rdeWOox+N8Gc626Gq/ZXarrUzjM=)
My question starts with this userid being returned from Microsoft - should the userid/principle be encrypted and if the userid is encrypted and is failing LDAP lookup because of that would it translate into no viable attribute being releasable ?
in the filter template inside attribute-resolver.xml
<dc:FilterTemplate>
<![CDATA[
(uid=$requestContext.principalName)
]]>
</dc:FilterTemplate>
---------------------------------------------
09:18:18.656 - WARN [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:491] - No attribute of principal 'rdeWOox+N8Gc626Gq/ZXarrUzjM=' can be encoded in to a NameIdentifier of required format 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent' for relying party 'urn:federation:MicrosoftOnline'
with a response of
<saml2p:Status>
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Responder">
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy"/>
</saml2p:StatusCode>
<saml2p:StatusMessage>Required NameID format not supported</saml2p:StatusMessage>
</saml2p:Status>
fragment from attribute-resolver.xml
<!-- UserPrincipalName for Windows Azure AD User ID -->
<resolver:AttributeDefinition id="UserId" xsi:type="ad:Simple" sourceAttributeID="mail">
<resolver:Dependency ref="myLDAP" />
<resolver:AttributeEncoder xsi:type="enc:SAML2String" name="IDPEmail" friendlyName="UserId" />
</resolver:AttributeDefinition>
Rob MacKay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160502/9deb9276/attachment.html>
More information about the users
mailing list