custom attribute question

Peter Schober peter.schober at
Fri Nov 16 04:46:29 EST 2012

* Daksh Chauhan <um.daksh at> [2012-11-15 22:39]:
> Following is in my "attribute-resolver.xml"
>     <resolver:AttributeDefinition xsi:type="ad:Simple"
>                id="emailalias" sourceAttributeID="emailalias">
>         <resolver:Dependency ref="myLDAP" />
>     </resolver:AttributeDefinition>
> And following is in "attribute-filter.xml":
> <afp:AttributeRule attributeID="emailalias">
> <afp:PermitValueRule xsi:type="basic:ANY" />
> </afp:AttributeRule>

After sorting out the attribute naming question. take a look at the
existing (commented-out) examples in the resolver (or the
documentation), as you're also missing an AttributEncoder as part of
the attribute defintion. As it is this attribute would never be sent
on the wire, dispite the attribute filter's setting.

More information about the users mailing list