Hi smacdonald,
Thanks for your reply.
Actually i have gone through this article before and i have done all the required configurations in SAML authentication handler.
My actual problem statement is i want to add saml authentication context declaration reference using OOTB SAML authentication.
Is this possible or i need to write the custom authentication handler to generate this.
For example:
After configuring saml authentication hadler i am able to generate the saml auth request as below.
I have removed entity Id and destination as this is related to project. I have not included certificate also.
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
Destination="https://......" ID="_50bb0cc1-96c8-4439-951d-3186e0e68626"
IssueInstant="2018-08-29T14:13:01Z"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Version="2.0">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">entityId</saml:Issuer>
<samlp:NameIDPolicy AllowCreate="true"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/>
</samlp:AuthnRequest>
I want to include one more attribute called saml authentication context to the above request. depending on this context the IDP will be serving the respective page. So my request should look like this after adding.
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
Destination="https://......" ID="_50bb0cc1-96c8-4439-951d-3186e0e68626"
IssueInstant="2018-08-29T14:13:01Z"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Version="2.0">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">entityId</saml:Issuer>
<samlp:NameIDPolicy AllowCreate="true"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/>
<samlp:RequestedAuthnContext>
<saml:AuthnContextDeclRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">newtp/Login/External</saml:AuthnContex tDeclRef>
</samlp:RequestedAuthnContext>
</samlp:AuthnRequest>
Above bold should be added along with out of the box request.
Regards,
Mahaboob Alisha Syed.