AssertionProvider
Valve used to create a SAML assertion. This is applicable in scenarios where PhenixID Server acts as a SAML Identity Provider.
This valve requires the Current Item Set to contain one and only one item. This item is used to populate the assertion with values.
Important if using SAMLAuthForSigning: If the user sees the SignMessage and proceeds to authenticate, the AssertionProvider used in the pipe will automatically add the attribute "urn:oid:1.2.752.201.3.14" (signMessageDigest) to the Assertion.
Properties
Example Configuration
{
"name": "AssertionProvider",
"config": {
"targetEntityID": "PhenixID_IdP",
"nameIDAttribute": "carLicense",
"misc": [{
"excludeSubjectNotBefore": "true",
"nameIdFormat": "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
"signMessage": "false",
"signAssertion": "true",
"audienceRestriction": "urn:federation:MicrosoftOnline",
"encryptassertion" : "true"
}],
"sourceID": "urn:federation:MicrosoftOnline",
"additionalAttributes": "IDPEmail"
}
}
If setting nameIdFormat to urn:oasis:names:tc:SAML:2.0:nameid-format:transient nameIDAttribute must be omitted in order for auto generated nameid value.
Requirements
SAML module is deployed.