|
|
|
|
|
- Operating mode of the first syntax
<wsRequest variable>.AddSAMLAssertion (Función) 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
MaProcRequête.AjouteAssertionSAML(MaSécurité.Assertion, MaSignature)
MaProc(MaProcRequête, MaSécurité, "Hello")
Sintaxis
Añadir automáticamente una aserción SAML a partir de una firma Ocultar los detalles
<Result> = <Request to use>.AddSAMLAssertion(<Assertion location> , <Signature to add>)
<Result>: Integro Index of the added SAML assertion. <Request to use>: Variable wsRequest Name of the wsRequest variable corresponding to the request into which a SAML assertion must be added. <Assertion location>: Variable generada por la importación de un servicio web 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>: Variable de tipo xmlSignature Name of the xmlSignature variable corresponding to the signature that must be added to the assertion.
Añadir una aserción SAML con el código XML especificado Ocultar los detalles
<Result> = <Request to use>.AddSAMLAssertion(<Assertion location> , <Assertion to add>)
<Result>: booleano - True if the assertion was added,
- False otherwise.
<Request to use>: Variable wsRequest Name of the wsRequest variable into which a signature must be added. <Assertion location>: Variable generada por la importación de un servicio web 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>: Variable de tipo Buffer Buffer containing the XML code of the assertion to add. Observaciones 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="ReferenceID" Version="2.0"> <wsa:Issuer></wsa:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/> </ns2:Assertion> </wsa:Assertion>
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|