wrote...
What is the use of "UserID Attribute" in the SAML configuration. what it does exactly? can any one explains how it works with any use case.?
Its the ID attribute your AEM instance is looking in the SAML response after authentication from IDP Server. Sample SAML Response from IDP after decryption will look like below
<AttributeStatement>
<Attribute Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<AttributeValue>aparker@geometrixx.info</AttributeValue>
</Attribute>
</AttributeStatement>
AEM will get the attribute value after it matched the ID (i,e in this case uid) and login to instance. You have to map this ID with the ID that IDP is sending. Check this SAML demo page. Attribute-filter section.
https://helpx.adobe.com/experience-manager/kb/saml-demo.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.