simple resolver issue?
David Bantz
dabantz at alaska.edu
Fri Oct 26 21:19:06 EDT 2012
Maybe I just need another set of eyes to look at this. I have a simple resolver that is not resolving attribute values:
<resolver:AttributeDefinition id="mailroutingaddress" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="mailRoutingAddress">
<resolver:Dependency ref="myLDAP" />
<resolver:AttributeEncoder xsi:type="SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:mace:alaska.edu:attributes:mailroutingaddress" />
<resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:mace:alaska.edu:attributes:mailroutingaddress" friendlyName="mailroutingaddress" />
</resolver:AttributeDefinition>
The same connecter ("myLDAP") successfully used in multiple other attribute definitions.
The LDAP directory for principal dabantz contains:
But the debug log has:
15:28:02.990 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:313] - Resolving attribute mailroutingaddress for principal dabantz
15:28:02.990 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:335] - Resolved attribute mailroutingaddress containing 0 values
While the parallel for telephoneNumber
<resolver:AttributeDefinition id="telephoneNumber" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="telephoneNumber">
<resolver:Dependency ref="myLDAP" />
<resolver:AttributeEncoder xsi:type="SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:mace:dir:attribute-def:telephoneNumber" />
<resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:oid:2.5.4.20" friendlyName="telephoneNumber" />
</resolver:AttributeDefinition>
with
does resolve the value:
15:28:02.998 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:313] - Resolving attribute telephoneNumber for principal dabantz
15:28:02.998 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:335] - Resolved attribute telephoneNumber containing 1 values
David Bantz
UA OIT IAIM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20121026/f6c8f9ac/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pasted Graphic.tiff
Type: image/tiff
Size: 10638 bytes
Desc: not available
Url : http://shibboleth.net/pipermail/users/attachments/20121026/f6c8f9ac/attachment-0001.tiff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 9009 bytes
Desc: not available
Url : http://shibboleth.net/pipermail/users/attachments/20121026/f6c8f9ac/attachment-0001.png
More information about the users
mailing list