<div dir="ltr">Hi, all.<div><br><div>I am facing an Issue.I tried to send uid attribute to SP.</div><div><br></div><div>However, I found the duplicate uid in the saml response as below.</div><div>--- start ---</div><div><saml2:AttributeStatement><br>    <saml2:Attribute FriendlyName="sn"<br>                     Name="urn:oid:2.5.4.4"<br>                     NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"<br>                     ><br>        <saml2:AttributeValue>test001</saml2:AttributeValue><br>    </saml2:Attribute><br>    <saml2:Attribute FriendlyName="uid"<br>                     Name="urn:oid:0.9.2342.19200300.100.1.1"<br>                     NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"<br>                     ><br>        <saml2:AttributeValue>test001</saml2:AttributeValue><br>    </saml2:Attribute><br>    <saml2:Attribute FriendlyName="uid"<br>                     Name="urn:oid:0.9.2342.19200300.100.1.1"<br>                     NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"<br>                     ><br>        <saml2:AttributeValue>test001</saml2:AttributeValue><br>    </saml2:Attribute><br></saml2:AttributeStatement><br></div><div>--- end ---</div><div><br></div><div>I defined attirbute-resolver.xml as below.</div><div>--- start ---</div><div><AttributeDefinition xsi:type="Simple" id="uid">                                                                                 <br>    <InputDataConnector ref="myLDAP" attributeNames="uid"/>                                                                      <br>    <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:uid" encodeType="false" />                         <br>    <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="uid" encodeType="false" />   <br></AttributeDefinition><br></div><div>--- end ---</div><div><br></div><div>I defined attirbute-filter.xml as below.<br></div><div>--- end ---</div><div><AttributeFilterPolicy id="testsp">                                           <br>    <PolicyRequirementRule xsi:type="Requester" value="<a href="https://sp.example.org/shibboleth">https://sp.example.org/shibboleth</a>" /><br>    <AttributeRule attributeID="uid" permitAny="true" />   <br>    <AttributeRule attributeID="surname" permitAny="true" /><br></AttributeFilterPolicy><br></AttributeFilterPolicyGroup>  <br></div><div><div>--- end ---</div><div><br></div><div>Please tell me the solution to solve this issue.</div><br class="gmail-Apple-interchange-newline"></div><div><br></div></div></div>