|
|
|
|
|
- Operating mode of the first syntax
SOAPAddSAMLAssertion (Function) In french: SOAPAjouteAssertionSAML Adds a SAML assertion to a web service request. Note: This is an advanced function.. It is mainly used when managing the Sesam Vitale web service. MaSécurité is Security
MaProcRequête is wsRequest
SOAPAddSAMLAssertion(MaProcRequête, MaSécurité.Assertion, MaSignature)
MaProc(MaProcRequête, MaSécurité, "Hello")
Syntax
Automatically adding a SAML assertion from a signature Hide the details
<Result> = SOAPAddSAMLAssertion(<Request to use> , <Assertion location> , <Signature to add>)
<Result>: Integer Index of the added SAML assertion. <Request to use>: wsRequest variable Name of the wsRequest variable corresponding to the request into which a SAML assertion must be added. <Assertion location>: Variable generated by the import of a web service XSD entity where the SAML Assertion is to be added: the addition is performed as a child element of the specified XSD entity. <Signature to add>: xmlSignature variable Name of the xmlSignature variable corresponding to the signature that must be added to the assertion.
Adding a SAML assertion with the specified XML code Hide the details
<Result> = SOAPAddSAMLAssertion(<Request to use> , <Assertion location> , <Assertion to add>)
<Result>: Boolean - True if the assertion was added,
- False otherwise.
<Request to use>: wsRequest variable Name of the wsRequest variable into which a signature must be added. <Assertion location>: Variable generated by the import of a web service XSD entity where the SAML Assertion is to be added: the addition is performed as a child element of the specified XSD entity.. <Assertion to add>: Buffer variable Buffer containing the XML code of the assertion to add. Remarks Operating mode of the first syntax A SAML assertion is added to the XSD entity passed as parameter. The child element is added in the following format: <wsa:Assertion xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" ID="IDReference" Version="2.0"> <wsa:Issuer></wsa:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/> </ns2:Assertion> </wsa:Assertion>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|