diff --git a/ADR/EPR-ADR-Provider-HCP-TestSuite-soapui-project.xml b/ADR/EPR-ADR-Provider-HCP-TestSuite-soapui-project.xml index e1df74e117a6c44a8396455b70425c895c2a0980..c8aceefa262c83f8d5e833522f1cd9d846f9ddb0 100644 --- a/ADR/EPR-ADR-Provider-HCP-TestSuite-soapui-project.xml +++ b/ADR/EPR-ADR-Provider-HCP-TestSuite-soapui-project.xml @@ -12067,14 +12067,6 @@ YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> <xacml-context:Attribute AttributeId="urn:e-health-suisse:2015:policy-attributes:referenced-policy-set" DataType="http://www.w3.org/2001/XMLSchema#anyURI"> <xacml-context:AttributeValue>${#TestSuite#referenced-policy-set}</xacml-context:AttributeValue> </xacml-context:Attribute> - <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" - DataType="http://www.w3.org/2001/XMLSchema#date"> - <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> - </xacml-context:Attribute> - <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" - DataType="http://www.w3.org/2001/XMLSchema#date"> - <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> - </xacml-context:Attribute> </xacml-context:Resource> <xacml-context:Action> @@ -12279,6 +12271,14 @@ YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> <xacml-context:Attribute AttributeId="urn:e-health-suisse:2015:policy-attributes:referenced-policy-set" DataType="http://www.w3.org/2001/XMLSchema#anyURI"> <xacml-context:AttributeValue>${#TestSuite#referenced-policy-set}</xacml-context:AttributeValue> </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> </xacml-context:Resource> <xacml-context:Action> diff --git a/PPQ/EPR-PPQ-Repository-TestSuite-soapui-project.xml b/PPQ/EPR-PPQ-Repository-TestSuite-soapui-project.xml index fb0770f9c114653235db9f0108cebd469a11cdbb..f15ae7dea538940187e0931fb15818a943f5a851 100644 --- a/PPQ/EPR-PPQ-Repository-TestSuite-soapui-project.xml +++ b/PPQ/EPR-PPQ-Repository-TestSuite-soapui-project.xml @@ -11965,7 +11965,195 @@ ew==</ds:X509Certificate> </epr:AddPolicyRequest> </soap:Body> </soap:Envelope> -]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:17b2e2a7-d32c-4353-b6d5-cad706a7440b</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:0b86e1f5-81af-4a2f-8539-accdb80bd2a6</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20191205133747499</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T13:37:47.499Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-norma</con:value></con:property></con:properties></con:testSuite><con:testSuite id="1016b3b5-c953-416d-a4ba-fda68761008f" name="PPQ_Delete_Policy valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="374ad26f-3cbe-4f15-907c-bf070f9ded8b" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ DeletePolicyRequest" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="e8672d0d-40e0-428e-af30-ae2d6b497251"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:17b2e2a7-d32c-4353-b6d5-cad706a7440b</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:0b86e1f5-81af-4a2f-8539-accdb80bd2a6</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20191205133747499</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T13:37:47.499Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-norma</con:value></con:property></con:properties></con:testSuite><con:testSuite id="0fdce749-6411-4e52-9260-26fa197cbb6f" name="PPQ_Add_Policy temporary_valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="0706e3ea-f14b-4f30-a7c0-7ee7de5fdd38" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ_for_AddPolicy_Repository" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="77d1a64e-0635-46e8-96ac-e3dd790cbca6"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" + ID="_15ab3026f1a671288278153f46917ae1" + IssueInstant="2025-01-22T08:26:45.873Z" + Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> + <ds:Reference URI="#_15ab3026f1a671288278153f46917ae1"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> + <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> + </ds:Transform> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <ds:DigestValue>E+nG29Ea1jb3A6MnvKSZKkgtWhPeeDO++f0L+aXhoZI=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue>dpSG6u1su0EFUwqVM7K3ru42h1USgWsIxG6fpsLIRcsJ+yOW4TZA/ZRgYhXQN4HmLphLOlPNRzukW77eyrN5jLKcsWi6p8bX8lTXbntiSld4tCVfr/o/rmZG7cUgDZS7ZrWkxqAHCrj2AttW8wbApqeModBd77+Q7+IcHlkuMSRBlx7l4wOXNZxBG0OPqttexWYw608GeymEsj9xv3uayGEOfF0Tv7bCTNrVSGKaeh/eme2E1hJYMwrkC+m1nJlUOoOJXgeQiee/tftDb2PRlmLLY7ABKvqXtCQNS3a072gICRuEwcV6pWZ+JhpBaJ+HI5nnyKp7awJjshgw8eW9ITMlCph71HuU7ZMk92X9bwhFeCg1YInIKLtWksJh4MA+nWU0IC8My1t00bD4z1fLZDS/+dP3DQJeOgjr7BZou/UEUtJ5sfyiyspFmb3DFGaarTnkbuZKRUglzQOFTSsPTg/jpqcFHI5EmmGvfnniQloIBUZQf4f8onO8Wg2yOoJm</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIEJjCCAo6gAwIBAgIUFg8EyHH5N5QBgbXe5O8fcpYtVmYwDQYJKoZIhvcNAQELBQAwJzElMCMG +A1UEAwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDAeFw0yMjA4MjIwODQwMTFaFw00MjA4 +MjIwODQwMTFaMCcxJTAjBgNVBAMMHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCQqMK5aNON/sjdb0bNBty7hH9xEFMgizhdgNDaHsyv +TL4jLdLLaDqaGJA+rHGWB6iouo8bDZvoSMsZv1QvPIY/qN4BRzTumEoen89eQThZHso3hsbOR3cm +vlbfEpqxFzSnxWJHC8JHKe0hnkK0R+Icp+ox1N8aclmWoha4ZnspZabhGu5qNCjA8/mcuBBwTUM3 +5r5TI8Ox98fFqjmfnSJxRt+g1bdIJ90yrUFZplD8cIfTI4EX8+PqQ5abdOqnRMXxRxUoe1K6Tg3p +O2IlKMfW/722op1q9E50Vm6ZQKSZY3t+tnxAuONT3rsKA+91x9oALi6X8E7CAEe1IKQjRkJKfvG6 +F8anr/Rnen+NuF5/0IC004A+gRcWdBxBDEgRocMLE0kTI3NS6EP1yRybg3otU48etMXOSEJRclal +uWtrjqYlHCOnZzToNTCpfznBgQ8JYGhNACxG/B9Mi3mNVfh/Jm99NB0APpSfahPVztBIFgc7VEK1 +Y/kFHZaxfSl4hY0CAwEAAaNKMEgwHQYDVR0OBBYEFMNjwhq0pA03KlobPQT9zj13F8v5MCcGA1Ud +EQQgMB6CHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwDQYJKoZIhvcNAQELBQADggGBAEwE +acdEKjv5dXgUqETGJYDDRNnt01YT9W3Cv6pKTqy2v1B6si9cWC3gXmP4x9TtelQ8PL/zGDcwQZfE +lTiLZ2bpSSiNPZR4KLnrgPjDHn3akVW5c757L58FynZ85njTsopeOhT0yb71IhI1LtNgcfmb4yjg +AThnNNoWtPPeD00qV3HuFq4QqRRi0Sdy3edwDReKKwNMNsxc6OajxmDeZZmswWUEDSyUiz8DY8RC +UtynzjnIvcDoxMlGKjL/DBiXzUCqrJ/VgqVWjO/XIFaJSInc+7lLlD7GcJd7nXCHc6E7oKt7lCz6 +eeuBV83bH1RzvSn+XH9ZcCjhbOu38q7HMHilOY0+IT36+OQvLuNOeQtL6nrvugrL7BqRVTvnoZmq +xWprys8DJPvwHM62BFvlcVwGgOa6ZysHC0cGtoZFjuRjMYxLkVkKAK/ZbMe3GEu36FWXBFPVAT4V +YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> + </ds:X509Data> + </ds:KeyInfo> + </ds:Signature> + <saml2:Subject> + <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified" + NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" + SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> + <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20250122082645827" + NotOnOrAfter="2025-01-22T08:31:45.876Z" + Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> + </saml2:SubjectConfirmation> + </saml2:Subject> + <saml2:Conditions NotBefore="2025-01-22T08:26:45.873Z" NotOnOrAfter="2025-01-22T08:31:45.873Z"> + <saml2:AudienceRestriction> + <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> + </saml2:AudienceRestriction> + </saml2:Conditions> + <saml2:AuthnStatement AuthnInstant="2025-01-22T08:26:45.870Z" + SessionIndex="_fd99110b6f8e274504645ba33d2db58c"> + <saml2:SubjectLocality Address="127.0.0.1"/> + <saml2:AuthnContext> + <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> + </saml2:AuthnContext> + </saml2:AuthnStatement> + <saml2:AttributeStatement> + <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="familyname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="firstname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> + </saml2:AttributeStatement> +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="59b9e136-9205-45aa-ad12-a0f414a64b5c"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue('PolicySetId', GENERIC_UUID) + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_ADD_POLICY" id="1b5db957-3378-4ea9-8d32-17b5037fdc0c"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:AddPolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> +<epr:AddPolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" + xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" + xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>${#TestSuite#PolicySet-description}</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:AddPolicyRequest> + </soap:Body> +</soap:Envelope> +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:17b2e2a7-d32c-4353-b6d5-cad706a7440b</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:0b86e1f5-81af-4a2f-8539-accdb80bd2a6</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20191205133747499</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T13:37:47.499Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-norma</con:value></con:property><con:property><con:name>start-date</con:name><con:value>01-01-2024</con:value></con:property><con:property><con:name>end-date</con:name><con:value>12-12-2024</con:value></con:property></con:properties></con:testSuite><con:testSuite id="1016b3b5-c953-416d-a4ba-fda68761008f" name="PPQ_Delete_Policy valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="374ad26f-3cbe-4f15-907c-bf070f9ded8b" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ DeletePolicyRequest" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="e8672d0d-40e0-428e-af30-ae2d6b497251"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" @@ -12235,15 +12423,15 @@ ew==</ds:X509Certificate> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" - ID="_42986ff7292592958e027587c7114ca5" - IssueInstant="2019-12-05T16:08:45.423Z" + ID="_d83b0005f783888eec2fd587ef6129df" + IssueInstant="2025-02-20T13:56:09.912Z" Version="2.0"> <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> - <ds:Reference URI="#_42986ff7292592958e027587c7114ca5"> + <ds:Reference URI="#_d83b0005f783888eec2fd587ef6129df"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> @@ -12251,33 +12439,31 @@ ew==</ds:X509Certificate> </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> - <ds:DigestValue>0YwXUDEPGBxQxzz/2Ks29qKSeAfJwCBTOgT7abQzdQw=</ds:DigestValue> + <ds:DigestValue>h2izdLGbeIy3BnvK+Y5oC2sQRMRJxE4AG3Tp88wyEqk=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> - <ds:SignatureValue> -TBrjEulLJJW+XAxEISt9cEwgWz3MIS5nRFNSCFMs/+Ej/WcNaldnA85Rnz8jBxnvEZhucOIIus/c -Q7Qh17kgPDYdzcLFjsojMxuDTiz0ujjGX4LQ/gMSZ75Da3sWv3L+VSt6jyb4W0OSb5nOKn44U520 -Y/v2e/vzEgKQSW1TbbU= -</ds:SignatureValue> + <ds:SignatureValue>LA05SPDiDGDl7xf+PcbZRMLJ0myqiPZb9FF38FqDnA9IlKBXHCfeIvsm6KzeDHdRqQ1kzvCGjL0kcPYtnC5bP10k1e5ZILa3Na8EV2CmyJq3vWewskPefCQSMMXckmV1NH11V8fZ8t4f8wUkvLessdRx4lWZRB6n4YCBSsRNEjmTUDp+FKfTPQXExH2mLg59xLfkyLjHJ4W87y+UFQszAiWgNHFj/M9+YgNC7IWmpHsm1wlVzNUElDiy0vBGT4dOanPRRnVk9KKyp8MQ1hK5Rpy1dTfUMZqXjaZTwX2tLN/7JSM1NvReP3a4hBYSB3ygOolotK/K7ZVDk2HeHdTtvNA+YKHX4odvFxWUyZlZDET1xTKwcUm52wl+brId+cdM9ozFq2GguMeVhw0KgBmBp8gETvibpm5BJREc/EzG1NYi3stOah7Vs2v0ZEuLgVGhTuHf4h2nky0FNmuIOZQfFkmZKqJ8+mG9htFpojP/GAI7buJaOuLbgBN9dhyhIN8n</ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> - <ds:X509Certificate>MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM -A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx -MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV -BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv -rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS -ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC -AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo -dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww -SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv -Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo -ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD -AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD -VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF -BwMEBgorBgEEAYI3FAICBggrBgEFBQcDATANBgkqhkiG9w0BAQ0FAAOBgQAvAQf3kRfC5hMAWFuK -ZKV7fOLklivFoELOl96i9O29i5wCEeiClubfH9X7nnfvKukhWdi0MFkRZqgLRXN1iDY6iKC6MnZH -TUN6qgskn6m3S0rsRXN8/My/EM+lmcFR1/IWhHtW+aERI0XoXR8GrY/QSmn3TWgHfO6qLdrUEfvV -ew==</ds:X509Certificate> + <ds:X509Certificate>MIIEJjCCAo6gAwIBAgIUFg8EyHH5N5QBgbXe5O8fcpYtVmYwDQYJKoZIhvcNAQELBQAwJzElMCMG +A1UEAwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDAeFw0yMjA4MjIwODQwMTFaFw00MjA4 +MjIwODQwMTFaMCcxJTAjBgNVBAMMHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCQqMK5aNON/sjdb0bNBty7hH9xEFMgizhdgNDaHsyv +TL4jLdLLaDqaGJA+rHGWB6iouo8bDZvoSMsZv1QvPIY/qN4BRzTumEoen89eQThZHso3hsbOR3cm +vlbfEpqxFzSnxWJHC8JHKe0hnkK0R+Icp+ox1N8aclmWoha4ZnspZabhGu5qNCjA8/mcuBBwTUM3 +5r5TI8Ox98fFqjmfnSJxRt+g1bdIJ90yrUFZplD8cIfTI4EX8+PqQ5abdOqnRMXxRxUoe1K6Tg3p +O2IlKMfW/722op1q9E50Vm6ZQKSZY3t+tnxAuONT3rsKA+91x9oALi6X8E7CAEe1IKQjRkJKfvG6 +F8anr/Rnen+NuF5/0IC004A+gRcWdBxBDEgRocMLE0kTI3NS6EP1yRybg3otU48etMXOSEJRclal +uWtrjqYlHCOnZzToNTCpfznBgQ8JYGhNACxG/B9Mi3mNVfh/Jm99NB0APpSfahPVztBIFgc7VEK1 +Y/kFHZaxfSl4hY0CAwEAAaNKMEgwHQYDVR0OBBYEFMNjwhq0pA03KlobPQT9zj13F8v5MCcGA1Ud +EQQgMB6CHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwDQYJKoZIhvcNAQELBQADggGBAEwE +acdEKjv5dXgUqETGJYDDRNnt01YT9W3Cv6pKTqy2v1B6si9cWC3gXmP4x9TtelQ8PL/zGDcwQZfE +lTiLZ2bpSSiNPZR4KLnrgPjDHn3akVW5c757L58FynZ85njTsopeOhT0yb71IhI1LtNgcfmb4yjg +AThnNNoWtPPeD00qV3HuFq4QqRRi0Sdy3edwDReKKwNMNsxc6OajxmDeZZmswWUEDSyUiz8DY8RC +UtynzjnIvcDoxMlGKjL/DBiXzUCqrJ/VgqVWjO/XIFaJSInc+7lLlD7GcJd7nXCHc6E7oKt7lCz6 +eeuBV83bH1RzvSn+XH9ZcCjhbOu38q7HMHilOY0+IT36+OQvLuNOeQtL6nrvugrL7BqRVTvnoZmq +xWprys8DJPvwHM62BFvlcVwGgOa6ZysHC0cGtoZFjuRjMYxLkVkKAK/ZbMe3GEu36FWXBFPVAT4V +YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> @@ -12286,36 +12472,24 @@ ew==</ds:X509Certificate> NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> - <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20191205160845314" - NotOnOrAfter="2019-12-05T16:13:45.427Z" + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20250220135609767" + NotOnOrAfter="2025-02-20T14:01:09.915Z" Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> </saml2:SubjectConfirmation> </saml2:Subject> - <saml2:Conditions NotBefore="2019-12-05T16:08:45.423Z" NotOnOrAfter="2019-12-05T16:13:45.423Z"> + <saml2:Conditions NotBefore="2025-02-20T13:56:09.912Z" NotOnOrAfter="2025-02-20T14:01:09.912Z"> <saml2:AudienceRestriction> <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> </saml2:AudienceRestriction> </saml2:Conditions> - <saml2:AuthnStatement AuthnInstant="2019-12-05T16:08:45.419Z" - SessionIndex="_eccd505c4ed893493d26b9701f533415"> + <saml2:AuthnStatement AuthnInstant="2025-02-20T13:56:09.909Z" + SessionIndex="_4c132dd5aa3e289f041841378304f7c7"> <saml2:SubjectLocality Address="127.0.0.1"/> <saml2:AuthnContext> <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> </saml2:AuthnContext> </saml2:AuthnStatement> <saml2:AttributeStatement> - <saml2:Attribute FriendlyName="identno" Name="urn:oid:0.9.2342.19200300.100.1.1" - NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> - <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">aandrews</saml2:AttributeValue> - </saml2:Attribute> - <saml2:Attribute FriendlyName="GLN" Name="GLN" - NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> - <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> - </saml2:Attribute> - <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" - NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> - <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> - </saml2:Attribute> <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> @@ -12330,10 +12504,18 @@ ew==</ds:X509Certificate> NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> </saml2:Attribute> + <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> + </saml2:Attribute> <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> </saml2:AttributeStatement> </saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="ded5c787-47ab-4322-b50b-699716df759f"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) @@ -12438,59 +12620,106 @@ ew==</ds:X509Certificate> // =================== Generate timeStamp =================== def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) - testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_UPDATE_POLICY" id="8c5f2313-8625-412e-ae32-8e18e99dab60"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>updatePolicy</con:operation><con:request name="PPQ_UPDATE_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> - <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> - <wsa:Action>urn:e-health-suisse:2015:policy-administration:UpdatePolicy</wsa:Action> - <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> - <wsa:ReplyTo> - <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> - </wsa:ReplyTo> - <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> - <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> - </soap:Header> - <soap:Body> - <epr:UpdatePolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> - <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> - <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> - <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> - <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> - <xacml:Description>TEST UPDATE POLICY</xacml:Description> - <xacml:Target> - <xacml:Subjects> - <xacml:Subject> - <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> - <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> - <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> - </xacml:SubjectMatch> - <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> - <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> - <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> - </xacml:SubjectMatch> - <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> - <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> - <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> - </xacml:AttributeValue> - <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> - </xacml:SubjectMatch> - </xacml:Subject> - </xacml:Subjects> - <xacml:Resources> - <xacml:Resource> - <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> - <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> - <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> - </xacml:AttributeValue> - <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> - </xacml:ResourceMatch> - </xacml:Resource> - </xacml:Resources> - </xacml:Target> - <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> - </xacml:PolicySet> - </saml:Statement> - </saml:Assertion> - </epr:UpdatePolicyRequest> - </soap:Body> + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_UPDATE_POLICY" id="8c5f2313-8625-412e-ae32-8e18e99dab60"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>updatePolicy</con:operation><con:request name="PPQ_UPDATE_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" + xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:UpdatePolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security + xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> + ${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> + <epr:UpdatePolicyRequest xmlns:hl7="urn:hl7-org:v3" + xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:epr="urn:e-health-suisse:2015:policy-administration" + xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" + xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" + IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index"> + ${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:hl7="urn:hl7-org:v3" + xmlns="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" + PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description> + Patient specific PolicySet for EPD Setup 202 - granting default access + level to the patients + EPD for health professionals in case of a emergency access. + This policy set can be modified by the patient via a Policy Manager + pointing to the more or + less restrictive option (PolicyIdReference below) + according to the patient's choice of confidentiality level. + </xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" + codeSystem="2.16.756.5.30.1.127.3.10.6" /> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + DataType="urn:hl7-org:v3#CV" + AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" /> + </xacml:SubjectMatch> + <xacml:SubjectMatch + MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue + DataType="http://www.w3.org/2001/XMLSchema#string"> + urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" + DataType="http://www.w3.org/2001/XMLSchema#string" /> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="EMER" + codeSystem="2.16.756.5.30.1.127.3.10.5" /> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + DataType="urn:hl7-org:v3#CV" + AttributeId="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse" /> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <!-- epr-spid-goes-here must be replaced with the real + EPR-SPID of the + patient --> + <hl7:InstanceIdentifier + root="2.16.756.5.30.1.127.3.10.3" + extension="${#Project#Patient_Extension}" /> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator + DataType="urn:hl7-org:v3#II" + AttributeId="urn:e-health-suisse:2015:epr-spid" /> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference> ${#TestSuite#PolicySetIdReference} <!--urn:e-health-suisse:2015:policies:access-level:restricted--> + </xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:UpdatePolicyRequest> + </soap:Body> </soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 3" id="13f07651-260e-4787-bc96-171eb144ff52"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) @@ -12528,20 +12757,20 @@ ew==</ds:X509Certificate> </xacml-samlp:XACMLPolicyQuery> </soap:Body> </soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="XPath Match" id="585f72f5-6d8b-4cba-b1c9-3c0fe2c86d3d" name="XPath Match" disabled="true"><con:configuration><path>declare namespace xacml='urn:oasis:names:tc:xacml:2.0:policy:schema:os'; -//xacml:PolicySet/xacml:Description</path><content>TEST - update Policy</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="24ebbddb-dd2a-4e38-a1a5-fff510e36802" name="Not SOAP Fault"/><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:55930c5f-66b6-4bde-8bb9-33044e7919a7</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:381ec2a7-bb5e-4070-8e08-0382e0007289</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20191205160846374</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T16:08:46.374Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted</con:value></con:property></con:properties></con:testSuite><con:testSuite id="9117fcee-d204-4045-8936-dbd7466eb5d7" name="PPQ_XACMLPolicyQuery valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="2acfc7ae-4c5d-4f32-877a-0d22e93ef4c6" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery with_policySetIdRefrence TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="23dad911-91b5-4518-8192-39a97c2d4a6f"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +//xacml:PolicySet/xacml:Description</path><content>TEST - update Policy</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="24ebbddb-dd2a-4e38-a1a5-fff510e36802" name="Not SOAP Fault"/><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:f448194b-e066-442a-9b9f-d6f803fc5dd0</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:8d2db96c-852b-4d1b-bc75-b476ab5f98cb</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20250220135610145</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2025-02-20T13:56:10.145Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted</con:value></con:property></con:properties></con:testSuite><con:testSuite id="305ef650-4d84-4bdd-8c1c-49a4f4b2896c" name="PPQ_Policy_Update temporary_valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="1915e44b-b3a6-4bd1-9279-c355d982412a" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ_for_UpdatePolicy_Repository" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="4efffd42-bb5c-437a-b200-6de86f6c0f88"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" - ID="_0b4173e81d98313b7d7aff2c31e0cd07" - IssueInstant="2020-10-20T14:26:26.631Z" - Version="2.0"> + ID="_42986ff7292592958e027587c7114ca5" + IssueInstant="2019-12-05T16:08:45.423Z" + Version="2.0"> <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> - <ds:Reference URI="#_0b4173e81d98313b7d7aff2c31e0cd07"> + <ds:Reference URI="#_42986ff7292592958e027587c7114ca5"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> @@ -12549,13 +12778,13 @@ ew==</ds:X509Certificate> </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> - <ds:DigestValue>4mWeI65u8ONv9SnG4xS4F+p1/ok1kRgrqdr1bbp5i1Y=</ds:DigestValue> + <ds:DigestValue>0YwXUDEPGBxQxzz/2Ks29qKSeAfJwCBTOgT7abQzdQw=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> -SX8Sxh1vSDwnSQpNfEZnzZapA87Sgs1CGZ6HCcqa+pimi14AVr/SyzwB8jFGkWBDMtmLfpztPj4X -avoVblZ7TK9F4HBbrevjB/0k4mxioTaNRWgj9znDYFrtCMS0M1ZMl1LPEkasX9ZqBoUmjiH4KQjn -pIOPn3KMRN3PuFhw+v4= +TBrjEulLJJW+XAxEISt9cEwgWz3MIS5nRFNSCFMs/+Ej/WcNaldnA85Rnz8jBxnvEZhucOIIus/c +Q7Qh17kgPDYdzcLFjsojMxuDTiz0ujjGX4LQ/gMSZ75Da3sWv3L+VSt6jyb4W0OSb5nOKn44U520 +Y/v2e/vzEgKQSW1TbbU= </ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> @@ -12584,18 +12813,18 @@ ew==</ds:X509Certificate> NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> - <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20201020142626284" - NotOnOrAfter="2020-10-20T14:31:26.635Z" + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20191205160845314" + NotOnOrAfter="2019-12-05T16:13:45.427Z" Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> </saml2:SubjectConfirmation> </saml2:Subject> - <saml2:Conditions NotBefore="2020-10-20T14:26:26.631Z" NotOnOrAfter="2020-10-20T14:31:26.631Z"> + <saml2:Conditions NotBefore="2019-12-05T16:08:45.423Z" NotOnOrAfter="2019-12-05T16:13:45.423Z"> <saml2:AudienceRestriction> <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> </saml2:AudienceRestriction> </saml2:Conditions> - <saml2:AuthnStatement AuthnInstant="2020-10-20T14:26:26.628Z" - SessionIndex="_82c07cb57640b5dcd5579b1d92809f7a"> + <saml2:AuthnStatement AuthnInstant="2019-12-05T16:08:45.419Z" + SessionIndex="_eccd505c4ed893493d26b9701f533415"> <saml2:SubjectLocality Address="127.0.0.1"/> <saml2:AuthnContext> <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> @@ -12633,7 +12862,7 @@ ew==</ds:X509Certificate> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> </saml2:Attribute> </saml2:AttributeStatement> -</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID1 1" id="1edbdede-7cb9-4f38-9642-de8294e0eca2"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="67f86fcf-c299-4c2b-a11a-76222ffa73b0"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) @@ -12657,7 +12886,7 @@ ew==</ds:X509Certificate> // =================== Generate timeStamp =================== def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) - testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[INIT] PPQ_ADD_POLICY" id="c89f8578-ff35-4911-b1fa-14a3b7865943"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="[INIT] PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[INIT] PPQ_ADD_POLICY" id="0e6bb641-6028-4577-8b5c-a27c8525c1d2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="[INIT] PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Action>urn:e-health-suisse:2015:policy-administration:AddPolicy</wsa:Action> <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> @@ -12704,6 +12933,13 @@ ew==</ds:X509Certificate> <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> </xacml:AttributeValue> <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> </xacml:ResourceMatch> </xacml:Resource> </xacml:Resources> @@ -12715,7 +12951,7 @@ ew==</ds:X509Certificate> </epr:AddPolicyRequest> </soap:Body> </soap:Envelope> -]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 2" id="b2125d2c-d8d4-4856-8443-f23635bf72ad"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 2" id="82e0b76f-9af3-46f9-98d5-49e9bfc3b9c9"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) @@ -12736,25 +12972,71 @@ ew==</ds:X509Certificate> // =================== Generate timeStamp =================== def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) - testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY_PolicySetID" id="17f58041-85f1-4449-ba3e-8919f99b5e53"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY_PolicySetID" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="WsdlSettings@enable-mtom">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_UPDATE_POLICY" id="b64799db-54dc-4d7a-b2c6-0d65e24f0deb"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>updatePolicy</con:operation><con:request name="PPQ_UPDATE_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> - <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:UpdatePolicy</wsa:Action> <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> - <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> </soap:Header> <soap:Body> - <xacml-samlp:XACMLPolicyQuery ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <xacml:PolicySetIdReference>${#TestCase#PolicySetId}</xacml:PolicySetIdReference> - </xacml-samlp:XACMLPolicyQuery> + <epr:UpdatePolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>TEST UPDATE POLICY</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:UpdatePolicyRequest> </soap:Body> -</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple Contains" id="54af3ee7-9fb5-4df3-bc2f-f31c7b5f7034" name="Contains Success"><con:configuration><token>Success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 3" id="035977af-2f13-4ec3-a283-e73aa1fa75f8"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 3" id="e49c90d9-83c3-439e-ae98-88f432d4fa66"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) - // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== for (int i = 1; i < 2; i++) { def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() @@ -12771,9 +13053,9 @@ ew==</ds:X509Certificate> // =================== Generate timeStamp =================== def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) - testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY_PID" id="17a4a8f0-285a-4c2e-8cff-277ae7f3090a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY_PID" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[EVAL] PPQ_XACML_POLICY" id="b3889046-8226-4896-9ab1-d4cf858516c8"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="[EVAL] PPQ_XACML_POLICY" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="WsdlSettings@enable-mtom">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> - <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> @@ -12782,36 +13064,25 @@ ew==</ds:X509Certificate> <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> </soap:Header> <soap:Body> - <xacml-samlp:XACMLPolicyQuery xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}"> - <xacml-context:Request xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:hl7="urn:hl7-org:v3"> - <xacml-context:Subject/> - <xacml-context:Resource> - <xacml-context:Attribute AttributeId="urn:e-health-suisse:2015:epr-spid" DataType="urn:hl7-org:v3#II"> - <xacml-context:AttributeValue> - <hl7:InstanceIdentifier xsi:type="hl7:II" root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> - </xacml-context:AttributeValue> - </xacml-context:Attribute> - </xacml-context:Resource> - <xacml-context:Action/> - <xacml-context:Environment/> - </xacml-context:Request> + <xacml-samlp:XACMLPolicyQuery ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <xacml:PolicySetIdReference>${#TestCase#PolicySetId}</xacml:PolicySetIdReference> </xacml-samlp:XACMLPolicyQuery> </soap:Body> -</soap:Envelope> -]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple Contains" id="54af3ee7-9fb5-4df3-bc2f-f31c7b5f7034" name="Contains Success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>Unique_Number</con:name><con:value>20201020142635922</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2020-10-20T14:26:35.922Z</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:f1ae9a03-d137-439b-a0d7-fcf61a84acb4</con:value></con:property><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:7d6930d0-2acd-4f86-b2d0-1eb8fab76d5f</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-normal</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property></con:properties></con:testSuite><con:testSuite id="96e8bebb-f17c-4ac0-aa4b-3c1fbe909678" name="PPQ_XACMLPolicyQuery invalid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="718839bd-6be0-4df2-8f77-a941fdeb6c5d" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery unknown_policySetID TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="e27cea9b-cbc3-4f69-bb03-58693f32bc8e"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="XPath Match" id="585f72f5-6d8b-4cba-b1c9-3c0fe2c86d3d" name="XPath Match" disabled="true"><con:configuration><path>declare namespace xacml='urn:oasis:names:tc:xacml:2.0:policy:schema:os'; +//xacml:PolicySet/xacml:Description</path><content>TEST - update Policy</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="24ebbddb-dd2a-4e38-a1a5-fff510e36802" name="Not SOAP Fault"/><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:55930c5f-66b6-4bde-8bb9-33044e7919a7</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:381ec2a7-bb5e-4070-8e08-0382e0007289</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20191205160846374</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T16:08:46.374Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted</con:value></con:property></con:properties></con:testSuite><con:testSuite id="9117fcee-d204-4045-8936-dbd7466eb5d7" name="PPQ_XACMLPolicyQuery valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="2acfc7ae-4c5d-4f32-877a-0d22e93ef4c6" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery with_policySetIdRefrence TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="23dad911-91b5-4518-8192-39a97c2d4a6f"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" - ID="_d2d8a20a4355b50aae6c3fdfb288056d" - IssueInstant="2019-12-05T14:22:43.630Z" + ID="_0b4173e81d98313b7d7aff2c31e0cd07" + IssueInstant="2020-10-20T14:26:26.631Z" Version="2.0"> <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> - <ds:Reference URI="#_d2d8a20a4355b50aae6c3fdfb288056d"> + <ds:Reference URI="#_0b4173e81d98313b7d7aff2c31e0cd07"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> @@ -12819,13 +13090,13 @@ ew==</ds:X509Certificate> </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> - <ds:DigestValue>XyroF5KMQcKmihJcHDyWKqSpMPnFloIAJEt28u53zmA=</ds:DigestValue> + <ds:DigestValue>4mWeI65u8ONv9SnG4xS4F+p1/ok1kRgrqdr1bbp5i1Y=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> -IA+pQn84y8ncsE5IJ7MRlP/WTMkre/dvLt5mgmD8dVK94dxaSs7xbgstL9x/3uZCsAXJ4TIgyJ0U -VaXGCHY/pTX/fy1BwQrQYSjZRmH1XBztaD9idbhbrJ7Sb8nWrGqIoBFcdS5yDDsKeQTPZRljWbRt -+3l4j8yM1nEeVBTV/pY= +SX8Sxh1vSDwnSQpNfEZnzZapA87Sgs1CGZ6HCcqa+pimi14AVr/SyzwB8jFGkWBDMtmLfpztPj4X +avoVblZ7TK9F4HBbrevjB/0k4mxioTaNRWgj9znDYFrtCMS0M1ZMl1LPEkasX9ZqBoUmjiH4KQjn +pIOPn3KMRN3PuFhw+v4= </ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> @@ -12854,18 +13125,18 @@ ew==</ds:X509Certificate> NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> - <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20191205142243523" - NotOnOrAfter="2019-12-05T14:27:43.634Z" + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20201020142626284" + NotOnOrAfter="2020-10-20T14:31:26.635Z" Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> </saml2:SubjectConfirmation> </saml2:Subject> - <saml2:Conditions NotBefore="2019-12-05T14:22:43.630Z" NotOnOrAfter="2019-12-05T14:27:43.630Z"> + <saml2:Conditions NotBefore="2020-10-20T14:26:26.631Z" NotOnOrAfter="2020-10-20T14:31:26.631Z"> <saml2:AudienceRestriction> <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> </saml2:AudienceRestriction> </saml2:Conditions> - <saml2:AuthnStatement AuthnInstant="2019-12-05T14:22:43.626Z" - SessionIndex="_aa16455e9092cb24ee286d4b818da413"> + <saml2:AuthnStatement AuthnInstant="2020-10-20T14:26:26.628Z" + SessionIndex="_82c07cb57640b5dcd5579b1d92809f7a"> <saml2:SubjectLocality Address="127.0.0.1"/> <saml2:AuthnContext> <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> @@ -12903,16 +13174,19 @@ ew==</ds:X509Certificate> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> </saml2:Attribute> </saml2:AttributeStatement> -</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="cf34ada4-1913-4f00-aff4-318d09c62797"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID1 1" id="1edbdede-7cb9-4f38-9642-de8294e0eca2"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) - // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== for (int i = 1; i < 2; i++) { def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) } + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue('PolicySetId', GENERIC_UUID) // =================== Generate Unique_Number =================== @@ -12924,7 +13198,86 @@ ew==</ds:X509Certificate> // =================== Generate timeStamp =================== def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) - testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY" id="2c62c075-9ed1-418a-8fe8-349e87a3fa6b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[INIT] PPQ_ADD_POLICY" id="c89f8578-ff35-4911-b1fa-14a3b7865943"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="[INIT] PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:AddPolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> +<epr:AddPolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" + xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" + xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>${#TestSuite#PolicySet-description}</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:AddPolicyRequest> + </soap:Body> +</soap:Envelope> +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 2" id="b2125d2c-d8d4-4856-8443-f23635bf72ad"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY_PolicySetID" id="17f58041-85f1-4449-ba3e-8919f99b5e53"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY_PolicySetID" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="WsdlSettings@enable-mtom">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> @@ -12936,50 +13289,238 @@ ew==</ds:X509Certificate> </soap:Header> <soap:Body> <xacml-samlp:XACMLPolicyQuery ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <xacml:PolicySetIdReference>33333333-91dd-410b-9c6f-e4bdffc5d438</xacml:PolicySetIdReference> + <xacml:PolicySetIdReference>${#TestCase#PolicySetId}</xacml:PolicySetIdReference> </xacml-samlp:XACMLPolicyQuery> </soap:Body> -</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple NotContains" id="eae3fab2-c65b-4b5a-885c-4f0fb432477b" name="Not Contains status:Success"><con:configuration><token>status:Success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>Unique_Number</con:name><con:value>20191205142244013</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T14:22:44.013Z</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:fabfe04f-a5c5-4ebe-9054-add7e17ffb0e</con:value></con:property></con:properties></con:testCase><con:testCase id="de0bfe4c-36ba-4df1-ac10-c792bca93178" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery unknown_PID TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="802ac8af-13e7-436a-85d8-121186c90e99"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ -<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" - xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" - ID="_c8ce886064a5575b3860c268ae02fd9a" - IssueInstant="2019-12-05T14:22:44.379Z" - Version="2.0"> - <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> - <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> - <ds:SignedInfo> - <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> - <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> - <ds:Reference URI="#_c8ce886064a5575b3860c268ae02fd9a"> - <ds:Transforms> - <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> - <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> - <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> - </ds:Transform> - </ds:Transforms> - <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> - <ds:DigestValue>7OW1svW8OA9t2z5S8JcNawb28JuhXDyHjJBhAE7zeNA=</ds:DigestValue> - </ds:Reference> - </ds:SignedInfo> - <ds:SignatureValue> -Otcc13WSoxXlIr++TYaWXO7O6N+14WbDTtPz0xn2QjUh0RzykxZC77C/d5tarhJroLu+IXkIjRG2 -Br2+zlmQeD9a7TVx1QcgwUvZMIcCAQ7AbicrDkPLY0uaSAe1+71BfBq4CU6EYbqDwHwn1PqacbHr -QAJeH0yB/Cmw1JkBGGQ= -</ds:SignatureValue> - <ds:KeyInfo> - <ds:X509Data> - <ds:X509Certificate>MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM -A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx -MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV -BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv -rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS -ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC -AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo -dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww -SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv -Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple Contains" id="54af3ee7-9fb5-4df3-bc2f-f31c7b5f7034" name="Contains Success"><con:configuration><token>Success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 3" id="035977af-2f13-4ec3-a283-e73aa1fa75f8"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY_PID" id="17a4a8f0-285a-4c2e-8cff-277ae7f3090a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY_PID" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> + </soap:Header> + <soap:Body> + <xacml-samlp:XACMLPolicyQuery xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}"> + <xacml-context:Request xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:hl7="urn:hl7-org:v3"> + <xacml-context:Subject/> + <xacml-context:Resource> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2015:epr-spid" DataType="urn:hl7-org:v3#II"> + <xacml-context:AttributeValue> + <hl7:InstanceIdentifier xsi:type="hl7:II" root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml-context:Resource> + <xacml-context:Action/> + <xacml-context:Environment/> + </xacml-context:Request> + </xacml-samlp:XACMLPolicyQuery> + </soap:Body> +</soap:Envelope> +]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple Contains" id="54af3ee7-9fb5-4df3-bc2f-f31c7b5f7034" name="Contains Success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>Unique_Number</con:name><con:value>20201020142635922</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2020-10-20T14:26:35.922Z</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:f1ae9a03-d137-439b-a0d7-fcf61a84acb4</con:value></con:property><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:7d6930d0-2acd-4f86-b2d0-1eb8fab76d5f</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>https://ehealthsuisse.ihe-europe.net:10443/ppq-repository?wsdl</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-normal</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property></con:properties></con:testSuite><con:testSuite id="96e8bebb-f17c-4ac0-aa4b-3c1fbe909678" name="PPQ_XACMLPolicyQuery invalid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="718839bd-6be0-4df2-8f77-a941fdeb6c5d" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery unknown_policySetID TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="e27cea9b-cbc3-4f69-bb03-58693f32bc8e"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" + ID="_d2d8a20a4355b50aae6c3fdfb288056d" + IssueInstant="2019-12-05T14:22:43.630Z" + Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> + <ds:Reference URI="#_d2d8a20a4355b50aae6c3fdfb288056d"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> + <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> + </ds:Transform> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <ds:DigestValue>XyroF5KMQcKmihJcHDyWKqSpMPnFloIAJEt28u53zmA=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue> +IA+pQn84y8ncsE5IJ7MRlP/WTMkre/dvLt5mgmD8dVK94dxaSs7xbgstL9x/3uZCsAXJ4TIgyJ0U +VaXGCHY/pTX/fy1BwQrQYSjZRmH1XBztaD9idbhbrJ7Sb8nWrGqIoBFcdS5yDDsKeQTPZRljWbRt ++3l4j8yM1nEeVBTV/pY= +</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM +A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx +MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV +BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv +rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS +ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC +AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo +dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww +SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv +Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo +ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD +AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD +VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF +BwMEBgorBgEEAYI3FAICBggrBgEFBQcDATANBgkqhkiG9w0BAQ0FAAOBgQAvAQf3kRfC5hMAWFuK +ZKV7fOLklivFoELOl96i9O29i5wCEeiClubfH9X7nnfvKukhWdi0MFkRZqgLRXN1iDY6iKC6MnZH +TUN6qgskn6m3S0rsRXN8/My/EM+lmcFR1/IWhHtW+aERI0XoXR8GrY/QSmn3TWgHfO6qLdrUEfvV +ew==</ds:X509Certificate> + </ds:X509Data> + </ds:KeyInfo> + </ds:Signature> + <saml2:Subject> + <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified" + NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" + SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> + <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20191205142243523" + NotOnOrAfter="2019-12-05T14:27:43.634Z" + Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> + </saml2:SubjectConfirmation> + </saml2:Subject> + <saml2:Conditions NotBefore="2019-12-05T14:22:43.630Z" NotOnOrAfter="2019-12-05T14:27:43.630Z"> + <saml2:AudienceRestriction> + <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> + </saml2:AudienceRestriction> + </saml2:Conditions> + <saml2:AuthnStatement AuthnInstant="2019-12-05T14:22:43.626Z" + SessionIndex="_aa16455e9092cb24ee286d4b818da413"> + <saml2:SubjectLocality Address="127.0.0.1"/> + <saml2:AuthnContext> + <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> + </saml2:AuthnContext> + </saml2:AuthnStatement> + <saml2:AttributeStatement> + <saml2:Attribute FriendlyName="identno" Name="urn:oid:0.9.2342.19200300.100.1.1" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">aandrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="familyname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="firstname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> + </saml2:Attribute> + </saml2:AttributeStatement> +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="cf34ada4-1913-4f00-aff4-318d09c62797"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY" id="2c62c075-9ed1-418a-8fe8-349e87a3fa6b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> + </soap:Header> + <soap:Body> + <xacml-samlp:XACMLPolicyQuery ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <xacml:PolicySetIdReference>33333333-91dd-410b-9c6f-e4bdffc5d438</xacml:PolicySetIdReference> + </xacml-samlp:XACMLPolicyQuery> + </soap:Body> +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple NotContains" id="eae3fab2-c65b-4b5a-885c-4f0fb432477b" name="Not Contains status:Success"><con:configuration><token>status:Success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>Unique_Number</con:name><con:value>20191205142244013</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2019-12-05T14:22:44.013Z</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:fabfe04f-a5c5-4ebe-9054-add7e17ffb0e</con:value></con:property></con:properties></con:testCase><con:testCase id="de0bfe4c-36ba-4df1-ac10-c792bca93178" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ XACMLPolicyQuery unknown_PID TestCase" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="802ac8af-13e7-436a-85d8-121186c90e99"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" + ID="_c8ce886064a5575b3860c268ae02fd9a" + IssueInstant="2019-12-05T14:22:44.379Z" + Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> + <ds:Reference URI="#_c8ce886064a5575b3860c268ae02fd9a"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> + <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> + </ds:Transform> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <ds:DigestValue>7OW1svW8OA9t2z5S8JcNawb28JuhXDyHjJBhAE7zeNA=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue> +Otcc13WSoxXlIr++TYaWXO7O6N+14WbDTtPz0xn2QjUh0RzykxZC77C/d5tarhJroLu+IXkIjRG2 +Br2+zlmQeD9a7TVx1QcgwUvZMIcCAQ7AbicrDkPLY0uaSAe1+71BfBq4CU6EYbqDwHwn1PqacbHr +QAJeH0yB/Cmw1JkBGGQ= +</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM +A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx +MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV +BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv +rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS +ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC +AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo +dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww +SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv +Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF @@ -13137,7 +13678,7 @@ log.info assertion assertion = assertion.toString().replace('<?xml version="1.0" encoding="UTF-8"?>', '') testRunner.testCase.setPropertyValue("assertion", assertion) -</script></con:config></con:testStep><con:testStep type="request" id="c9b2cd51-314b-4d17-9a2b-c3ee7b6634cc" name="XUA_Request"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>STSBinding</con:interface><con:operation>Issue</con:operation><con:request name="XUA_Request" outgoingWss="" incomingWss="" timeout="" sslKeystore="jboss.jks" useWsAddressing="true" useWsReliableMessaging="false" id="679d289c-3fa3-4bc4-95a8-a1a6f835ebfc"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@strip-whitespaces">true</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@skip_soap_action">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>https://ehealthsuisse.ihe-europe.net:10443/STS?wsdl</con:endpoint><con:request><![CDATA[<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> +</script></con:config></con:testStep><con:testStep type="request" id="c9b2cd51-314b-4d17-9a2b-c3ee7b6634cc" name="XUA_Request"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>STSBinding</con:interface><con:operation>Issue</con:operation><con:request name="XUA_Request" outgoingWss="" incomingWss="" timeout="" sslKeystore="jboss.jks" useWsAddressing="true" useWsReliableMessaging="false" id="679d289c-3fa3-4bc4-95a8-a1a6f835ebfc"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@strip-whitespaces">true</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@skip_soap_action">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#endPointAssertion}</con:endpoint><con:request><![CDATA[<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</wsa:Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:uuid:d888b36e-625f-4e25-a166-b27815be357f</wsa:MessageID> @@ -13218,20 +13759,20 @@ private static String nodeToString(Node node) { System.out.println("nodeToString Transformer Exception"); } return sw.toString(); -}</script></con:config></con:testStep><con:properties><con:property><con:name>Document_UUID</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>Submission_Set_UUID</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID2</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID3</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID4</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID5</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID6</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID7</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID8</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID9</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID10</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID11</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID12</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID13</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID14</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID15</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>Unique_Number</con:name><con:value>20201020142626284</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2020-10-20T14:26:26.284Z</con:value></con:property><con:property><con:name>assertion</con:name><con:value><![CDATA[ +}</script></con:config></con:testStep><con:properties><con:property><con:name>Document_UUID</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>Submission_Set_UUID</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID2</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID3</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID4</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID5</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID6</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID7</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID8</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID9</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID10</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID11</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID12</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID13</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID14</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>GENERIC_UUID15</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property><con:property><con:name>Unique_Number</con:name><con:value>20250221145007699</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2025-02-21T14:50:07.699Z</con:value></con:property><con:property><con:name>assertion</con:name><con:value><![CDATA[ <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" - ID="_0b4173e81d98313b7d7aff2c31e0cd07" - IssueInstant="2020-10-20T14:26:26.631Z" + ID="_36e7e2c19ef97501c0795633deec1c3f" + IssueInstant="2025-02-21T14:50:07.868Z" Version="2.0"> <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> - <ds:Reference URI="#_0b4173e81d98313b7d7aff2c31e0cd07"> + <ds:Reference URI="#_36e7e2c19ef97501c0795633deec1c3f"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> @@ -13239,33 +13780,31 @@ private static String nodeToString(Node node) { </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> - <ds:DigestValue>4mWeI65u8ONv9SnG4xS4F+p1/ok1kRgrqdr1bbp5i1Y=</ds:DigestValue> + <ds:DigestValue>p717xu73aM1Onz+gWkuulw0tAriQkhec0vFniQxR1a8=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> - <ds:SignatureValue> -SX8Sxh1vSDwnSQpNfEZnzZapA87Sgs1CGZ6HCcqa+pimi14AVr/SyzwB8jFGkWBDMtmLfpztPj4X -avoVblZ7TK9F4HBbrevjB/0k4mxioTaNRWgj9znDYFrtCMS0M1ZMl1LPEkasX9ZqBoUmjiH4KQjn -pIOPn3KMRN3PuFhw+v4= -</ds:SignatureValue> + <ds:SignatureValue>RZ+s2yZeMftsV8xn41MtIJOny+tb/QGD2gHz8gajVGVVfIClN6a7IrtqBGV75N8WGs1Tx1m8HLQXJV2yDU1vrL3vWRaRcwi0YNE9ryvO+W02lFP08Gkg9kH40rpmLSwGRIi0XfJZ1GVzB9WqEIpcFy460EcVJsMbjkUVDohgjg9HrO5b00+TutrKqpTr3AKDYxfcaoSuJT0Davv4TnU65byLjQZhpDsvh1+/Zq+BlkHkZrqFSVsGZ5Irv7UwYL/F5UuCmM7QWo60CFD8r+dy0xQAWhemohp7B+bC3CIuuRlMjHKxxOSRtz2T1fL1gKlt2UxMuui7rpN3JuiYhwMUuncXKPCPxsnWSOUEhWQIpUY+MgRWJ31DnXMLh24uxr79esdOGOEw4wO9eAaO5hgCg6nd+tDS+hj1vjq+lz/O6QZ+A/RIHlicLzbRYBMi8PL8rXi03tqB55PxlxHkBxyLBA7Rs53hSxV+oCZL9qPBdRgQA7uOcqaft8fnB66+24ss</ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> - <ds:X509Certificate>MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM -A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx -MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV -BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv -rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS -ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC -AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo -dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww -SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv -Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo -ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD -AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD -VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF -BwMEBgorBgEEAYI3FAICBggrBgEFBQcDATANBgkqhkiG9w0BAQ0FAAOBgQAvAQf3kRfC5hMAWFuK -ZKV7fOLklivFoELOl96i9O29i5wCEeiClubfH9X7nnfvKukhWdi0MFkRZqgLRXN1iDY6iKC6MnZH -TUN6qgskn6m3S0rsRXN8/My/EM+lmcFR1/IWhHtW+aERI0XoXR8GrY/QSmn3TWgHfO6qLdrUEfvV -ew==</ds:X509Certificate> + <ds:X509Certificate>MIIEJjCCAo6gAwIBAgIUFg8EyHH5N5QBgbXe5O8fcpYtVmYwDQYJKoZIhvcNAQELBQAwJzElMCMG +A1UEAwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDAeFw0yMjA4MjIwODQwMTFaFw00MjA4 +MjIwODQwMTFaMCcxJTAjBgNVBAMMHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCQqMK5aNON/sjdb0bNBty7hH9xEFMgizhdgNDaHsyv +TL4jLdLLaDqaGJA+rHGWB6iouo8bDZvoSMsZv1QvPIY/qN4BRzTumEoen89eQThZHso3hsbOR3cm +vlbfEpqxFzSnxWJHC8JHKe0hnkK0R+Icp+ox1N8aclmWoha4ZnspZabhGu5qNCjA8/mcuBBwTUM3 +5r5TI8Ox98fFqjmfnSJxRt+g1bdIJ90yrUFZplD8cIfTI4EX8+PqQ5abdOqnRMXxRxUoe1K6Tg3p +O2IlKMfW/722op1q9E50Vm6ZQKSZY3t+tnxAuONT3rsKA+91x9oALi6X8E7CAEe1IKQjRkJKfvG6 +F8anr/Rnen+NuF5/0IC004A+gRcWdBxBDEgRocMLE0kTI3NS6EP1yRybg3otU48etMXOSEJRclal +uWtrjqYlHCOnZzToNTCpfznBgQ8JYGhNACxG/B9Mi3mNVfh/Jm99NB0APpSfahPVztBIFgc7VEK1 +Y/kFHZaxfSl4hY0CAwEAAaNKMEgwHQYDVR0OBBYEFMNjwhq0pA03KlobPQT9zj13F8v5MCcGA1Ud +EQQgMB6CHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwDQYJKoZIhvcNAQELBQADggGBAEwE +acdEKjv5dXgUqETGJYDDRNnt01YT9W3Cv6pKTqy2v1B6si9cWC3gXmP4x9TtelQ8PL/zGDcwQZfE +lTiLZ2bpSSiNPZR4KLnrgPjDHn3akVW5c757L58FynZ85njTsopeOhT0yb71IhI1LtNgcfmb4yjg +AThnNNoWtPPeD00qV3HuFq4QqRRi0Sdy3edwDReKKwNMNsxc6OajxmDeZZmswWUEDSyUiz8DY8RC +UtynzjnIvcDoxMlGKjL/DBiXzUCqrJ/VgqVWjO/XIFaJSInc+7lLlD7GcJd7nXCHc6E7oKt7lCz6 +eeuBV83bH1RzvSn+XH9ZcCjhbOu38q7HMHilOY0+IT36+OQvLuNOeQtL6nrvugrL7BqRVTvnoZmq +xWprys8DJPvwHM62BFvlcVwGgOa6ZysHC0cGtoZFjuRjMYxLkVkKAK/ZbMe3GEu36FWXBFPVAT4V +YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> @@ -13274,36 +13813,123 @@ ew==</ds:X509Certificate> NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> - <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20201020142626284" - NotOnOrAfter="2020-10-20T14:31:26.635Z" + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20250221145007699" + NotOnOrAfter="2025-02-21T14:55:07.870Z" Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> </saml2:SubjectConfirmation> </saml2:Subject> - <saml2:Conditions NotBefore="2020-10-20T14:26:26.631Z" NotOnOrAfter="2020-10-20T14:31:26.631Z"> + <saml2:Conditions NotBefore="2025-02-21T14:50:07.868Z" NotOnOrAfter="2025-02-21T14:55:07.868Z"> <saml2:AudienceRestriction> <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> </saml2:AudienceRestriction> </saml2:Conditions> - <saml2:AuthnStatement AuthnInstant="2020-10-20T14:26:26.628Z" - SessionIndex="_82c07cb57640b5dcd5579b1d92809f7a"> + <saml2:AuthnStatement AuthnInstant="2025-02-21T14:50:07.865Z" + SessionIndex="_d7d167177dad0f2b1f3d7889bcebab07"> <saml2:SubjectLocality Address="127.0.0.1"/> <saml2:AuthnContext> <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> </saml2:AuthnContext> </saml2:AuthnStatement> <saml2:AttributeStatement> - <saml2:Attribute FriendlyName="identno" Name="urn:oid:0.9.2342.19200300.100.1.1" + <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> - <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">aandrews</saml2:AttributeValue> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> </saml2:Attribute> - <saml2:Attribute FriendlyName="GLN" Name="GLN" - NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> - <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + <saml2:Attribute FriendlyName="familyname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="firstname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> </saml2:Attribute> <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> </saml2:Attribute> + <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> + </saml2:AttributeStatement> +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>HCP_name</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite id="a63f3c0f-247c-44f8-82b0-affaf3bb176d" name="EPR CH:ADR-PPQ Delegation Case /PPQ_Add_DelegationPolicy valid_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="b8faeab8-2016-4bfd-b6e8-cfc35d25efc1" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ_for_UpdatePolicy_Repository" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="ea00909d-0329-451b-9783-b9838e0d6325"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" + ID="_02b877cfb67de10b6c11186372756cdf" + IssueInstant="2025-02-20T15:02:40.771Z" + Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> + <ds:Reference URI="#_02b877cfb67de10b6c11186372756cdf"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> + <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> + </ds:Transform> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <ds:DigestValue>M4Vw9YmPblOO2UJAhaBmaJzt+UlDnvRjMI6i4sJgIag=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue>AhpJfHdxyVIP7te5LOnamzve3beQf0xKoEN0EES8GqLVdGaHwMm8yFj5ntllGVrO0c8T24b3iJEMYhSlhNfLspySMyrYK1kuJsE+G/2+Q5CfqeKLscJ4+hd5YOkiHd2HSaqdhyA2e1NA4POjzgM24cHJSvAjyl6TUkpiZEZ7gFjZEMVYi5gLoej7LX7+cqBjS1WwFo+V7pAK15WwK+o4xQdTyYbdzjyu2QmlbyGAqI9KzYDdMjDHlmgPuP06KxnZ2PAgmzj/ukEHdQUSxDbeZQ/U82PjplTKN8486QbCeNHXMWEdda7nmr6R6P8u8D0+uAbHqWQEH8KJYwdMrNv8/Ut57iTP1VuBrp6CxuU99D0HARv0q+EaroQ3Ar8XtrHai/z42kWeLQjYv/N1SwvfEXjwqhWGygMXtT4FouEfsLjrZQ/D4tZPnQBAI52MCG78B0Kgb58mk/ydrgSlsMactnsWzqCYFcp7R5sax1itfxorfgH1/hzdk+FXr0TrXpMp</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIEJjCCAo6gAwIBAgIUFg8EyHH5N5QBgbXe5O8fcpYtVmYwDQYJKoZIhvcNAQELBQAwJzElMCMG +A1UEAwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDAeFw0yMjA4MjIwODQwMTFaFw00MjA4 +MjIwODQwMTFaMCcxJTAjBgNVBAMMHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCQqMK5aNON/sjdb0bNBty7hH9xEFMgizhdgNDaHsyv +TL4jLdLLaDqaGJA+rHGWB6iouo8bDZvoSMsZv1QvPIY/qN4BRzTumEoen89eQThZHso3hsbOR3cm +vlbfEpqxFzSnxWJHC8JHKe0hnkK0R+Icp+ox1N8aclmWoha4ZnspZabhGu5qNCjA8/mcuBBwTUM3 +5r5TI8Ox98fFqjmfnSJxRt+g1bdIJ90yrUFZplD8cIfTI4EX8+PqQ5abdOqnRMXxRxUoe1K6Tg3p +O2IlKMfW/722op1q9E50Vm6ZQKSZY3t+tnxAuONT3rsKA+91x9oALi6X8E7CAEe1IKQjRkJKfvG6 +F8anr/Rnen+NuF5/0IC004A+gRcWdBxBDEgRocMLE0kTI3NS6EP1yRybg3otU48etMXOSEJRclal +uWtrjqYlHCOnZzToNTCpfznBgQ8JYGhNACxG/B9Mi3mNVfh/Jm99NB0APpSfahPVztBIFgc7VEK1 +Y/kFHZaxfSl4hY0CAwEAAaNKMEgwHQYDVR0OBBYEFMNjwhq0pA03KlobPQT9zj13F8v5MCcGA1Ud +EQQgMB6CHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwDQYJKoZIhvcNAQELBQADggGBAEwE +acdEKjv5dXgUqETGJYDDRNnt01YT9W3Cv6pKTqy2v1B6si9cWC3gXmP4x9TtelQ8PL/zGDcwQZfE +lTiLZ2bpSSiNPZR4KLnrgPjDHn3akVW5c757L58FynZ85njTsopeOhT0yb71IhI1LtNgcfmb4yjg +AThnNNoWtPPeD00qV3HuFq4QqRRi0Sdy3edwDReKKwNMNsxc6OajxmDeZZmswWUEDSyUiz8DY8RC +UtynzjnIvcDoxMlGKjL/DBiXzUCqrJ/VgqVWjO/XIFaJSInc+7lLlD7GcJd7nXCHc6E7oKt7lCz6 +eeuBV83bH1RzvSn+XH9ZcCjhbOu38q7HMHilOY0+IT36+OQvLuNOeQtL6nrvugrL7BqRVTvnoZmq +xWprys8DJPvwHM62BFvlcVwGgOa6ZysHC0cGtoZFjuRjMYxLkVkKAK/ZbMe3GEu36FWXBFPVAT4V +YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> + </ds:X509Data> + </ds:KeyInfo> + </ds:Signature> + <saml2:Subject> + <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified" + NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" + SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> + <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20250220150240689" + NotOnOrAfter="2025-02-20T15:07:40.773Z" + Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> + </saml2:SubjectConfirmation> + </saml2:Subject> + <saml2:Conditions NotBefore="2025-02-20T15:02:40.771Z" NotOnOrAfter="2025-02-20T15:07:40.771Z"> + <saml2:AudienceRestriction> + <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> + </saml2:AudienceRestriction> + </saml2:Conditions> + <saml2:AuthnStatement AuthnInstant="2025-02-20T15:02:40.769Z" + SessionIndex="_5536cf66d9c497e79bc87e84387590fe"> + <saml2:SubjectLocality Address="127.0.0.1"/> + <saml2:AuthnContext> + <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> + </saml2:AuthnContext> + </saml2:AuthnStatement> + <saml2:AttributeStatement> <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> @@ -13318,24 +13944,632 @@ ew==</ds:X509Certificate> NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> </saml2:Attribute> + <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> + </saml2:Attribute> <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> </saml2:AttributeStatement> -</saml2:Assertion>]]></con:value></con:property><con:property><con:name>HCP_name</con:name><con:value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>endPointAssertion</con:name><con:value>https://ehealthsuisse.ihe-europe.net/STS?wsdl</con:value></con:property><con:property><con:name>Patient_Extension</con:name><con:value>761337610411265304</con:value></con:property><con:property><con:name>assertion</con:name><con:value><![CDATA[<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_47d904b7-4925-4b2c-b102-de3ec290ddb8" IssueInstant="2020-10-20T14:26:27.357Z" Version="2.0"><saml2:Issuer>https://ehealthsuisse.ihe-europe.net/STS</saml2:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#_47d904b7-4925-4b2c-b102-de3ec290ddb8"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>inwR2T1hwNiCoVBnQV0Nqm6iOac=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>OWV87OSi3NiqC4jad6MNTvWsLs0uUWoPV7vPE+QbP39ZKyXTAHYpeGvFJl5noFDrPGFUzocOHY8vb5F9Sl6ArfNLGZe4n5ggJ1HLg9isXuX98HwgqW8PiYKKTuQgFIYYN0vEJmWRY9C8hne2arQDWpRDrZ9Xpqag1PbFPAsxiW8=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIDhjCCAu+gAwIBAgIBCzANBgkqhkiG9w0BAQ0FADBFMQswCQYDVQQGEwJDSDEMMAoGA1UECgwD -SUhFMSgwJgYDVQQDDB9laGVhbHRoc3Vpc3NlLmloZS1ldXJvcGUubmV0IENBMB4XDTE3MDMyMjE2 -MDgyNFoXDTI3MDMyMjE2MDgyNFowQjELMAkGA1UEBhMCQ0gxDDAKBgNVBAoMA0lIRTElMCMGA1UE -AwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC -gYEAw5dTR17Y1w9cIhY0XSP9Cx7ThQ05YZTf4pKGgGb5ZZbFqm9Q5EKIrJT2EHE7MGO6D/miU3Jt -BUmexcf9ceftSXEW+FaNVAqDePBst4l2RSZeJvez0FmcbWcPeufsUumcGXGAJmNmSviMLd1IrMEh -whv6wuQvspY0Y2wAOvSkUmECAwEAAaOCAYcwggGDMEoGA1UdHwRDMEEwP6A9oDuGOWh0dHBzOi8v -ZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3MvY3JsLzIyL2NhY3JsLmNybDBIBglghkgB -hvhCAQQEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmloZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIv -Y2FjcmwuY3JsMEgGCWCGSAGG+EIBAwQ7FjlodHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9w -ZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmwwCQYDVR0TBAIwADAOBgNVHQ8BAf8EBAMCBPAwEQYJ -YIZIAYb4QgEBBAQDAgXgMB0GA1UdDgQWBBSG1oKBcZvZJWlqKJ9i/67Htv7frDAfBgNVHSMEGDAW -gBQol+/d3jFYbFbyhkbiEeQ+OHFfLzAzBgNVHSUELDAqBggrBgEFBQcDAgYIKwYBBQUHAwQGCisG -AQQBgjcUAgIGCCsGAQUFBwMBMA0GCSqGSIb3DQEBDQUAA4GBAI1OT9P0oSrfNedZ4T4CfxPoUOFC -D1tU2X3iRAZFPoUHeFBiccsqMYnNlo3S2cKP6gxt+QPTGNSs171sS0MLa73aR8qrQC+vl5ZP7q4+ -/3hYQLe+z3DjSflZNW6shSAp4vD43Dnd8OzgX41LRw1gSEWuAK/+7CedM6IkFEUV2NSF</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><saml2:Subject><saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" NameQualifier="urn:gs1:gln">7601002469191</saml2:NameID><saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><saml2:SubjectConfirmationData InResponseTo="_43ef3e4fefdb03a31781d7ea52617674bcd25a6c26" NotOnOrAfter="2020-10-20T16:26:27.357Z" Recipient="https://sp.community.ch/epd"/></saml2:SubjectConfirmation></saml2:Subject><saml2:Conditions NotBefore="2020-10-20T14:26:27.357Z" NotOnOrAfter="2020-10-20T16:26:27.357Z"><saml2:AudienceRestriction><saml2:Audience>urn:e-health-suisse:token-audience:all-communities</saml2:Audience></saml2:AudienceRestriction></saml2:Conditions><saml2:AuthnStatement AuthnInstant="2020-10-20T14:26:27.357Z" SessionNotOnOrAfter="2020-10-20T16:26:27.357Z"><saml2:AuthnContext><saml2:AuthnContextClassRef>http://bag.admin.ch/LoA/3</saml2:AuthnContextClassRef></saml2:AuthnContext></saml2:AuthnStatement><saml2:AttributeStatement><saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:subject-id"><saml2:AttributeValue>Ann Andrews</saml2:AttributeValue></saml2:Attribute><saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:subject:role"><saml2:AttributeValue><Role xmlns="urn:hl7-org:v3" code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6" codeSystemName="eHealth Suisse EPR Akteure" displayName="Gesundheitsfachperson" xsi:type="CE"/></saml2:AttributeValue></saml2:Attribute><saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization"><saml2:AttributeValue>Spital Y</saml2:AttributeValue></saml2:Attribute><saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id"><saml2:AttributeValue>urn:oid:2.16.10.89.211</saml2:AttributeValue></saml2:Attribute><saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:resource:resource-id"><saml2:AttributeValue>761337610411265304^^^SPID&2.16.756.5.30.1.127.3.10.3&ISO</saml2:AttributeValue></saml2:Attribute><saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse"><saml2:AttributeValue><PurposeOfUse xmlns="urn:hl7-org:v3" code="NORM" codeSystem="2.16.756.5.30.1.127.3.10.5" codeSystemName="eHealth Suisse Verwendungszweck" displayName="Normalzugriff" xsi:type="CE"/></saml2:AttributeValue></saml2:Attribute></saml2:AttributeStatement></saml2:Assertion>]]></con:value></con:property><con:property><con:name>UserName_for_Assertion</con:name><con:value>aandrews</con:value></con:property><con:property><con:name>Role_Code_for_Assertion</con:name><con:value>HCP</con:value></con:property></con:properties><con:wssContainer><con:crypto><con:source>/opt/gazelle/cert/jboss.jks</con:source><con:password>password</con:password><con:type>KEYSTORE</con:type></con:crypto><con:crypto><con:source>/opt/gazelle/cert/jboss.jks</con:source><con:password>password</con:password><con:type>KEYSTORE</con:type></con:crypto></con:wssContainer><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project> \ No newline at end of file +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="b3b3f690-f47d-49c7-aa89-e7871d59d62a"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue('PolicySetId', GENERIC_UUID) + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[INIT] PPQ_ADD_POLICY" id="8bede125-5357-43df-a707-1a993aa8719f"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="[INIT] PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:AddPolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> +<epr:AddPolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" + xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" + xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>${#TestSuite#PolicySet-description}</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:AddPolicyRequest> + </soap:Body> +</soap:Envelope> +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 2" id="79d188b8-ad3c-4229-b55f-fea77e47b9e7"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + for (int i = 1; i < 2; i++) { + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID"+i, GENERIC_UUID) + } + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_UPDATE_POLICY" id="8a7952e9-22e7-4dea-98d2-b6dcd6ab6925"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>updatePolicy</con:operation><con:request name="PPQ_UPDATE_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:UpdatePolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> + <epr:UpdatePolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>TEST UPDATE POLICY</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:UpdatePolicyRequest> + </soap:Body> +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:8706d805-a3b7-4569-8650-99c57d140100</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:10f5df95-5858-4f02-81fb-7b705251a426</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20250220150241012</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2025-02-20T15:02:41.012Z</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>http://localhost:8092/ppq-repository?wsdl</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted</con:value></con:property><con:property><con:name>start-date</con:name><con:value>01-01-2025</con:value></con:property><con:property><con:name>end-date</con:name><con:value>01-02-2025</con:value></con:property></con:properties></con:testSuite><con:testSuite id="6385e78b-605b-4016-ba6f-797e6ebceb66" name="EPR CH:ADR-PPQ Delegation Case /PPQ_Add_DelegationPolicy error_case"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="3c5afa69-e0c5-46a2-a958-06814ed3c727" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PPQ_for_UpdatePolicy_Repository" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] Request SAML Assertion" id="b0e52369-8a5c-4c74-a4c1-fc6136c4b241"><con:settings/><con:config xsi:type="con:RunTestCaseStep" copyLoadTestProperties="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>59a1e697-b7e9-45ec-8687-73d002a9d8f5</con:targetTestCase><con:properties><con:property><con:name>assertion</con:name><con:value><![CDATA[ +<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" + xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" + ID="_36e7e2c19ef97501c0795633deec1c3f" + IssueInstant="2025-02-21T14:50:07.868Z" + Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/idp/shibboleth</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/> + <ds:Reference URI="#_36e7e2c19ef97501c0795633deec1c3f"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> + <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xsd"/> + </ds:Transform> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <ds:DigestValue>p717xu73aM1Onz+gWkuulw0tAriQkhec0vFniQxR1a8=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue>RZ+s2yZeMftsV8xn41MtIJOny+tb/QGD2gHz8gajVGVVfIClN6a7IrtqBGV75N8WGs1Tx1m8HLQXJV2yDU1vrL3vWRaRcwi0YNE9ryvO+W02lFP08Gkg9kH40rpmLSwGRIi0XfJZ1GVzB9WqEIpcFy460EcVJsMbjkUVDohgjg9HrO5b00+TutrKqpTr3AKDYxfcaoSuJT0Davv4TnU65byLjQZhpDsvh1+/Zq+BlkHkZrqFSVsGZ5Irv7UwYL/F5UuCmM7QWo60CFD8r+dy0xQAWhemohp7B+bC3CIuuRlMjHKxxOSRtz2T1fL1gKlt2UxMuui7rpN3JuiYhwMUuncXKPCPxsnWSOUEhWQIpUY+MgRWJ31DnXMLh24uxr79esdOGOEw4wO9eAaO5hgCg6nd+tDS+hj1vjq+lz/O6QZ+A/RIHlicLzbRYBMi8PL8rXi03tqB55PxlxHkBxyLBA7Rs53hSxV+oCZL9qPBdRgQA7uOcqaft8fnB66+24ss</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIEJjCCAo6gAwIBAgIUFg8EyHH5N5QBgbXe5O8fcpYtVmYwDQYJKoZIhvcNAQELBQAwJzElMCMG +A1UEAwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDAeFw0yMjA4MjIwODQwMTFaFw00MjA4 +MjIwODQwMTFaMCcxJTAjBgNVBAMMHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCQqMK5aNON/sjdb0bNBty7hH9xEFMgizhdgNDaHsyv +TL4jLdLLaDqaGJA+rHGWB6iouo8bDZvoSMsZv1QvPIY/qN4BRzTumEoen89eQThZHso3hsbOR3cm +vlbfEpqxFzSnxWJHC8JHKe0hnkK0R+Icp+ox1N8aclmWoha4ZnspZabhGu5qNCjA8/mcuBBwTUM3 +5r5TI8Ox98fFqjmfnSJxRt+g1bdIJ90yrUFZplD8cIfTI4EX8+PqQ5abdOqnRMXxRxUoe1K6Tg3p +O2IlKMfW/722op1q9E50Vm6ZQKSZY3t+tnxAuONT3rsKA+91x9oALi6X8E7CAEe1IKQjRkJKfvG6 +F8anr/Rnen+NuF5/0IC004A+gRcWdBxBDEgRocMLE0kTI3NS6EP1yRybg3otU48etMXOSEJRclal +uWtrjqYlHCOnZzToNTCpfznBgQ8JYGhNACxG/B9Mi3mNVfh/Jm99NB0APpSfahPVztBIFgc7VEK1 +Y/kFHZaxfSl4hY0CAwEAAaNKMEgwHQYDVR0OBBYEFMNjwhq0pA03KlobPQT9zj13F8v5MCcGA1Ud +EQQgMB6CHGVoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQwDQYJKoZIhvcNAQELBQADggGBAEwE +acdEKjv5dXgUqETGJYDDRNnt01YT9W3Cv6pKTqy2v1B6si9cWC3gXmP4x9TtelQ8PL/zGDcwQZfE +lTiLZ2bpSSiNPZR4KLnrgPjDHn3akVW5c757L58FynZ85njTsopeOhT0yb71IhI1LtNgcfmb4yjg +AThnNNoWtPPeD00qV3HuFq4QqRRi0Sdy3edwDReKKwNMNsxc6OajxmDeZZmswWUEDSyUiz8DY8RC +UtynzjnIvcDoxMlGKjL/DBiXzUCqrJ/VgqVWjO/XIFaJSInc+7lLlD7GcJd7nXCHc6E7oKt7lCz6 +eeuBV83bH1RzvSn+XH9ZcCjhbOu38q7HMHilOY0+IT36+OQvLuNOeQtL6nrvugrL7BqRVTvnoZmq +xWprys8DJPvwHM62BFvlcVwGgOa6ZysHC0cGtoZFjuRjMYxLkVkKAK/ZbMe3GEu36FWXBFPVAT4V +YAn9zRGfK61JVbryZvSPy8xlBo+1iUUIDvQFYlHG7XpA3v3oBh7jBg==</ds:X509Certificate> + </ds:X509Data> + </ds:KeyInfo> + </ds:Signature> + <saml2:Subject> + <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified" + NameQualifier="https://ehealthsuisse.ihe-europe.net/idp/shibboleth" + SPNameQualifier="https://sp-clone.ihe-europe.net/shibboleth">aandrews</saml2:NameID> + <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> + <saml2:SubjectConfirmationData Address="127.0.0.1" InResponseTo="_20250221145007699" + NotOnOrAfter="2025-02-21T14:55:07.870Z" + Recipient="https://sp-clone.ihe-europe.net/Shibboleth.sso/SAML2/ECP"/> + </saml2:SubjectConfirmation> + </saml2:Subject> + <saml2:Conditions NotBefore="2025-02-21T14:50:07.868Z" NotOnOrAfter="2025-02-21T14:55:07.868Z"> + <saml2:AudienceRestriction> + <saml2:Audience>https://sp-clone.ihe-europe.net/shibboleth</saml2:Audience> + </saml2:AudienceRestriction> + </saml2:Conditions> + <saml2:AuthnStatement AuthnInstant="2025-02-21T14:50:07.865Z" + SessionIndex="_d7d167177dad0f2b1f3d7889bcebab07"> + <saml2:SubjectLocality Address="127.0.0.1"/> + <saml2:AuthnContext> + <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef> + </saml2:AuthnContext> + </saml2:AuthnStatement> + <saml2:AttributeStatement> + <saml2:Attribute FriendlyName="displayName" Name="urn:oid:2.16.840.1.113730.3.1.241" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="familyname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="firstname" + Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Ann</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="gender" Name="urn:oid:1.3.6.1.5.5.7.9.3" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">M</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="dateofbirth" Name="urn:oid:1.3.6.1.5.5.7.9.1" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">19790329161118.392Z</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute FriendlyName="GLN" Name="GLN" + NameFormat="urn:oasis:names:tc:ebcore:partyid-type:DataUniversalNumberingSystem:0060"> + <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">7601002469191</saml2:AttributeValue> + </saml2:Attribute> + </saml2:AttributeStatement> +</saml2:Assertion>]]></con:value></con:property><con:property><con:name>Document_UUID</con:name></con:property><con:property><con:name>Submission_Set_UUID</con:name></con:property><con:property><con:name>GENERIC_UUID1</con:name></con:property><con:property><con:name>GENERIC_UUID2</con:name></con:property><con:property><con:name>GENERIC_UUID3</con:name></con:property><con:property><con:name>GENERIC_UUID4</con:name></con:property><con:property><con:name>GENERIC_UUID5</con:name></con:property><con:property><con:name>GENERIC_UUID6</con:name></con:property><con:property><con:name>GENERIC_UUID7</con:name></con:property><con:property><con:name>GENERIC_UUID8</con:name></con:property><con:property><con:name>GENERIC_UUID9</con:name></con:property><con:property><con:name>GENERIC_UUID10</con:name></con:property><con:property><con:name>GENERIC_UUID11</con:name></con:property><con:property><con:name>GENERIC_UUID12</con:name></con:property><con:property><con:name>GENERIC_UUID13</con:name></con:property><con:property><con:name>GENERIC_UUID14</con:name></con:property><con:property><con:name>GENERIC_UUID15</con:name></con:property><con:property><con:name>Unique_Number</con:name></con:property><con:property><con:name>timeStamp</con:name></con:property><con:property><con:name>HCP_name</con:name></con:property></con:properties><con:returnProperties><con:entry>assertion</con:entry></con:returnProperties><con:runMode>SINGLETON_AND_FAIL</con:runMode></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID" id="b53a743e-4d43-4622-9143-2a4ef11a8236"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + + def GENERIC_UUID1 = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID1", GENERIC_UUID1) + + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue('PolicySetId', GENERIC_UUID) + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="[INIT] PPQ_ADD_POLICY" id="f7e60f68-f104-499f-b374-9cd4f16068e8"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>addPolicy</con:operation><con:request name="[INIT] PPQ_ADD_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:AddPolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID1}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> +<epr:AddPolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" + xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" + xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description>${#TestSuite#PolicySet-description}</xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${#TestSuite#subject_id}</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" DataType="http://www.w3.org/2001/XMLSchema#string"/> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6"/> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator DataType="urn:hl7-org:v3#CV" AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"/> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}"/> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid"/> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#start-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + <xacml-context:Attribute AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" + DataType="http://www.w3.org/2001/XMLSchema#date"> + <xacml-context:AttributeValue>${#TestSuite#end-date}</xacml-context:AttributeValue> + </xacml-context:Attribute> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:AddPolicyRequest> + </soap:Body> +</soap:Envelope> +]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 2" id="81f6e2ef-5c9b-46b9-ac80-3b813dc9489a"><con:settings/><con:config><script> def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID2", GENERIC_UUID) + + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_UPDATE_POLICY" id="6f7c703e-dd1d-4d41-ab27-1b0f3b8e2a83"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>updatePolicy</con:operation><con:request name="PPQ_UPDATE_POLICY" id="9ee3d407-8e9b-4cfa-b6ed-d01ce920e408" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:UpdatePolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID2}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> + ${#Project#assertion}</wsse:Security> + </soap:Header> + <soap:Body> + <epr:UpdatePolicyRequest xmlns:hl7="urn:hl7-org:v3" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:epr="urn:e-health-suisse:2015:policy-administration" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"> + <saml:Assertion Version="2.0" ID="_b882d240-45cd-4fa3-aa9f-65394115d0e0" IssueInstant="${#TestCase#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index"> + ${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="xacml-saml:XACMLPolicyStatementType"> + <xacml:PolicySet PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides" PolicySetId="${#TestCase#PolicySetId}"> + <xacml:Description> + Patient specific PolicySet for EPD Setup 202 - granting default access + level to the patients + EPD for health professionals in case of a emergency access. + This policy set can be modified by the patient via a Policy Manager + pointing to the more or + less restrictive option (PolicyIdReference below) + according to the patient's choice of confidentiality level. + </xacml:Description> + <xacml:Target> + <xacml:Subjects> + <xacml:Subject> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="HCP" + codeSystem="2.16.756.5.30.1.127.3.10.6" /> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + DataType="urn:hl7-org:v3#CV" + AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" /> + </xacml:SubjectMatch> + <xacml:SubjectMatch + MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> + <xacml:AttributeValue + DataType="http://www.w3.org/2001/XMLSchema#string"> + urn:gs1:gln</xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" + DataType="http://www.w3.org/2001/XMLSchema#string" /> + </xacml:SubjectMatch> + <xacml:SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#CV"> + <hl7:CodedValue code="EMER" + codeSystem="2.16.756.5.30.1.127.3.10.5" /> + </xacml:AttributeValue> + <xacml:SubjectAttributeDesignator + DataType="urn:hl7-org:v3#CV" + AttributeId="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse" /> + </xacml:SubjectMatch> + </xacml:Subject> + </xacml:Subjects> + <xacml:Resources> + <xacml:Resource> + <xacml:ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal"> + <xacml:AttributeValue DataType="urn:hl7-org:v3#II"> + <hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${#Project#Patient_Extension}" /> + </xacml:AttributeValue> + <xacml:ResourceAttributeDesignator DataType="urn:hl7-org:v3#II" AttributeId="urn:e-health-suisse:2015:epr-spid" /> + </xacml:ResourceMatch> + </xacml:Resource> + </xacml:Resources> + </xacml:Target> + <xacml:PolicySetIdReference>${#TestSuite#PolicySetIdReference}</xacml:PolicySetIdReference> + </xacml:PolicySet> + </saml:Statement> + </saml:Assertion> + </epr:UpdatePolicyRequest> + </soap:Body> +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c382fa09-fc07-4699-9d2c-2e420cc31a44"/><con:assertion type="Simple Contains" id="bee8ebf5-7e94-4cfc-9c15-1917be9b8a01" name="Contains success"><con:configuration><token>uccess</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 3" id="6b2cff9c-5b94-4982-bebc-5b74905405dc"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID3", GENERIC_UUID) + + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_DELETE_POLICY" id="c2a0da8f-7034-4403-b28d-c9e14baa73b2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>deletePolicy</con:operation><con:request name="PPQ_DELETE_POLICY" id="4480e58b-c333-4bfb-9db9-8c1f9cac2ef0" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:xe="http://www.w3.org/2001/04/xmlenc#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:DeletePolicy</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID3}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> + </soap:Header> + <soap:Body> + <epr:DeletePolicyRequest xmlns:epr="urn:e-health-suisse:2015:policy-administration" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os"> + <saml:Assertion Version="2.0" ID="_9a71a18c-d7a7-4931-9168-150a8fbc5dc2" IssueInstant="${#Project#TimeStamp}"> + <saml:Issuer NameQualifier="urn:e-health-suisse:community-index">${#TestSuite#homeCommunityId}</saml:Issuer> + <saml:Statement xsi:type="epr:XACMLPolicySetIdReferenceStatementType"> + <xacml:PolicySetIdReference>${#TestCase#PolicySetId}</xacml:PolicySetIdReference> + </saml:Statement> + </saml:Assertion> + </epr:DeletePolicyRequest> + </soap:Body> +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="3d9f70d6-ee8b-422a-8f14-d140ec9922ae"/><con:assertion type="Simple Contains" id="cb75952f-c8f9-4200-83d5-ed6a3b4c0bc8" name="Contains Success"><con:configuration><token>success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="generate_UUID 4" id="8a3253bb-3bbe-4d80-96bb-330a48dbbb77"><con:settings/><con:config><script>def project = testRunner.testCase.testSuite.project + def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) + + // ========= Generate GENERIC_UUID | Document_UUID | Submission_Set_UUID ====== + + + def GENERIC_UUID = "urn:uuid:" +UUID.randomUUID() + testRunner.testCase.setPropertyValue("GENERIC_UUID4", GENERIC_UUID) + + + // =================== Generate Unique_Number =================== + + def now = new Date() + def Unique_Number = now.format("yyyyMMddHHmmssSSS", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("Unique_Number", Unique_Number) + + + // =================== Generate timeStamp =================== + + def timeStamp= now.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')) + testRunner.testCase.setPropertyValue("timeStamp", timeStamp)</script></con:config></con:testStep><con:testStep type="request" name="PPQ_XACML_POLICY_PolicySetID" id="a5839862-8e3d-48f2-bbb9-ccdda8b0d67a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>PpqPolicyAdministrationSoapBinding</con:interface><con:operation>policyQuery</con:operation><con:request name="PPQ_XACML_POLICY_PolicySetID" id="5566c7ba-917f-4445-a088-15bbddc14868" sslKeystore="jboss.jks"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting><con:setting id="WsdlSettings@enable-mtom">false</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#TestSuite#endPointPPQ}</con:endpoint><con:request><![CDATA[<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xd="http://www.w3.org/2000/09/xmldsig#"> + <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Action>urn:e-health-suisse:2015:policy-administration:PolicyQuery</wsa:Action> + <wsa:MessageID>${#TestCase#GENERIC_UUID4}</wsa:MessageID> + <wsa:ReplyTo> + <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> + </wsa:ReplyTo> + <wsa:To>${#TestSuite#endPointPPQ}</wsa:To> + <wss:Security xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">${#Project#assertion}</wss:Security> + </soap:Header> + <soap:Body> + <xacml-samlp:XACMLPolicyQuery ID="cb8e5238-0a9f-4766-9179-b2e765957bbb" Version="2.0" IssueInstant="${#TestCase#TimeStamp}" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml-samlp="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <xacml:PolicySetIdReference>${#TestCase#PolicySetId}</xacml:PolicySetIdReference> + </xacml-samlp:XACMLPolicyQuery> + </soap:Body> +</soap:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c517e2e-5d4b-49ff-8243-fa0a546c8c09"/><con:assertion type="Simple Contains" id="54af3ee7-9fb5-4df3-bc2f-f31c7b5f7034" name="Contains Success"><con:configuration><token>Success</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>PolicySetId</con:name><con:value>urn:uuid:2f6e7c1a-8da5-41df-9970-aaf8fdaa3db0</con:value></con:property><con:property><con:name>GENERIC_UUID1</con:name><con:value>urn:uuid:4d3c8351-9fc7-4050-9a51-783cdfa02915</con:value></con:property><con:property><con:name>Unique_Number</con:name><con:value>20250221145008160</con:value></con:property><con:property><con:name>timeStamp</con:name><con:value>2025-02-21T14:50:08.160Z</con:value></con:property><con:property><con:name>GENERIC_UUID2</con:name><con:value>urn:uuid:20cdd7db-cd40-41ad-b825-83d5d899032e</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>endPointPPQ</con:name><con:value>http://localhost:8092/ppq-repository?wsdl</con:value></con:property><con:property><con:name>homeCommunityId</con:name><con:value>urn:oid:1.3.6.1.4.1.21367.2017.2.6.2</con:value></con:property><con:property><con:name>PolicySet-description</con:name><con:value>Patient specific PolicySet for EPD Setup 201 - granting normal access to a patient at EPD setup</con:value></con:property><con:property><con:name>subject_id</con:name><con:value>7601002469191</con:value></con:property><con:property><con:name>PolicySetIdReference</con:name><con:value>urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted</con:value></con:property><con:property><con:name>start-date</con:name><con:value>01-01-2025</con:value></con:property><con:property><con:name>end-date</con:name><con:value>01-02-2025</con:value></con:property></con:properties></con:testSuite><con:properties><con:property><con:name>endPointAssertion</con:name><con:value>https://ehealthsuisse.ihe-europe.net/STS?wsdl</con:value></con:property><con:property><con:name>Patient_Extension</con:name><con:value>761337610411265304</con:value></con:property><con:property><con:name>assertion</con:name><con:value><![CDATA[<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_48cd1757-edd4-485f-9e63-bf92103c0438" IssueInstant="2025-02-21T14:50:07.964Z" Version="2.0"> + <saml2:Issuer>https://ehealthsuisse.ihe-europe.net/STS</saml2:Issuer> + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:SignedInfo> + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> + <ds:Reference URI="#_48cd1757-edd4-485f-9e63-bf92103c0438"> + <ds:Transforms> + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> + </ds:Transforms> + <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> + <ds:DigestValue>83XFuj+zUh1JbEHxhsfkqXd/mpc=</ds:DigestValue> + </ds:Reference> + </ds:SignedInfo> + <ds:SignatureValue>fZwasVatcCjAf0O4bh9GvvXaH0tvv1dbz4ZFMBU6iipwTiu82IHCc4IuWjoaSRwuXsvnXBDxI0y041DsUXp4eD37aEh8maqKPf5/avvCbVAxDzGI/6TJnbs5Bp4WeR6nDiwaL0xspkYSwdP0WTEDbFbaPWFz7R7u49TxOIX2mZ7WySimeH1JCNnGDULjm9+/kuFEmOKpTq4ql6GpO+eJwHWNksFQC33iVvcwzWrlGpmkvDOQKCPklS0ZwyL7szJ9qaSEX5Wbl91ITqVWpu5H7vvKWvabkgxTZbeapyN29hfIOqt4ZutP4LD9lOyyvNGPvF3j+UIJ+ChdWzita+Dhdg==</ds:SignatureValue> + <ds:KeyInfo> + <ds:X509Data> + <ds:X509Certificate>MIIEkTCCA3mgAwIBAgIBAjANBgkqhkiG9w0BAQ0FADBFMQswCQYDVQQGEwJDSDEMMAoGA1UECgwD +SUhFMSgwJgYDVQQDDB9laGVhbHRoc3Vpc3NlLmloZS1ldXJvcGUubmV0IENBMB4XDTIzMDYwNzA3 +NTkzNFoXDTMzMDYwNzA3NTkzNFowQjELMAkGA1UEBhMCQ0gxDDAKBgNVBAoMA0lIRTElMCMGA1UE +AwwcZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBAKB4r6LPF8KJfVrZO0w5EZIFVQ05BFlYwlcy873FJ98oa4fH6iPg3OJA1Oq4I/rwakdk +XJDQn43t/P9CslZWPUIJ2dSAnfD7/1kMK3aNoQzNu73r/mNBYeg37Zskw6tO4XwiBt+S22U5OzLE +NWuENB86M3Y13L8hyBKQBZC/szh9j9SgXSJrgK6ugPtGYrVu0epwkIeJOifIjmvGFIXDdB8JpOU+ +rf1FsSWrrM72VswizTBWBmwjY6a/IcM/XA9ZZ+NmsnE3FdGzMkWvxjGOgdcKrY6DRLtKOD07iuWa +2nVAvZ23QdVM5HtjOC2lGrEKUs60QbNGipemOysTpg0yY+0CAwEAAaOCAY0wggGJMEsGA1UdHwRE +MEIwQKA+oDyGOmh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3MvY3JsLzMz +My9jYWNybC5jcmwwSQYJYIZIAYb4QgEEBDwWOmh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVy +b3BlLm5ldC9nc3MvY3JsLzMzMy9jYWNybC5jcmwwSQYJYIZIAYb4QgEDBDwWOmh0dHBzOi8vZWhl +YWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3MvY3JsLzMzMy9jYWNybC5jcmwwDAYDVR0TAQH/ +BAIwADAdBgNVHQ4EFgQUDVu7jJ++ILFEWP2E4R+gllq9+hUwHwYDVR0jBBgwFoAU9vfNQ8yJL+6C +YWQZvasg7TB2VFIwDgYDVR0PAQH/BAQDAgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAzBgNVHSUELDAq +BggrBgEFBQcDAgYIKwYBBQUHAwQGCisGAQQBgjcUAgIGCCsGAQUFBwMBMA0GCSqGSIb3DQEBDQUA +A4IBAQCXP7qNpglaHKuXSsRcZgXKs8V0W8WHzKSpwwi2qWE0FGvnaQb5H6Y8AqVId8JAULRoNwPC +8u/9FjgBoRCiaWyLGOOUuHxWCtgJ7Ks/iqWStjwBydmicB2XBQOzmXR6g4mCTXmRs4Dkt7PskzPM +En2v86hwx/XPAiHHbEy3Otl+VxZQCAuuaBuzil+APDm38trlzzHsNQPR4oJVRJng7VPWxHGQcu6P +YooaveCV2oN6HvDE/VN8YItPqDq9jIo8GIQlIlIHSdG/R0EN72Uq5cQ2E18NY7vjLgCMM+yHVO1P +FgCYBDwHbUo5Hpu4oHyRfM+yfwiBKtlk5vshkr7t6oCn</ds:X509Certificate> + </ds:X509Data> + </ds:KeyInfo> + </ds:Signature> + <saml2:Subject> + <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" NameQualifier="urn:gs1:gln">7601002469191</saml2:NameID> + <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> + <saml2:SubjectConfirmationData InResponseTo="_43ef3e4fefdb03a31781d7ea52617674bcd25a6c26" NotOnOrAfter="2025-02-21T16:50:07.964Z" Recipient="https://sp.community.ch/epd"/> + </saml2:SubjectConfirmation> + </saml2:Subject> + <saml2:Conditions NotBefore="2025-02-21T14:50:07.964Z" NotOnOrAfter="2025-02-21T16:50:07.964Z"> + <saml2:AudienceRestriction> + <saml2:Audience>urn:e-health-suisse:token-audience:all-communities</saml2:Audience> + </saml2:AudienceRestriction> + </saml2:Conditions> + <saml2:AuthnStatement AuthnInstant="2025-02-21T14:50:07.964Z" SessionNotOnOrAfter="2025-02-21T16:50:07.964Z"> + <saml2:AuthnContext> + <saml2:AuthnContextClassRef>http://bag.admin.ch/LoA/3</saml2:AuthnContextClassRef> + </saml2:AuthnContext> + </saml2:AuthnStatement> + <saml2:AttributeStatement> + <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:subject-id"> + <saml2:AttributeValue>Ann Andrews</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:subject:role"> + <saml2:AttributeValue> + <Role xmlns="urn:hl7-org:v3" code="HCP" codeSystem="2.16.756.5.30.1.127.3.10.6" codeSystemName="eHealth Suisse EPR Akteure" displayName="Gesundheitsfachperson" xsi:type="CE"/> + </saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization"> + <saml2:AttributeValue>Spital Y</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id"> + <saml2:AttributeValue>urn:oid:2.16.10.89.211</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:ihe:iti:xca:2010:homeCommunityId"> + <saml2:AttributeValue>urn:oid:1.1.4567334.1.6</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:resource:resource-id"> + <saml2:AttributeValue>761337610411265304^^^SPID&2.16.756.5.30.1.127.3.10.3&ISO</saml2:AttributeValue> + </saml2:Attribute> + <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse"> + <saml2:AttributeValue> + <PurposeOfUse xmlns="urn:hl7-org:v3" code="NORM" codeSystem="2.16.756.5.30.1.127.3.10.5" codeSystemName="eHealth Suisse Verwendungszweck" displayName="Normalzugriff" xsi:type="CE"/> + </saml2:AttributeValue> + </saml2:Attribute> + </saml2:AttributeStatement> + </saml2:Assertion>]]></con:value></con:property><con:property><con:name>UserName_for_Assertion</con:name><con:value>aandrews</con:value></con:property><con:property><con:name>Role_Code_for_Assertion</con:name><con:value>HCP</con:value></con:property></con:properties><con:wssContainer><con:crypto><con:source>/opt/gazelle/cert/jboss.jks</con:source><con:password>password</con:password><con:type>KEYSTORE</con:type></con:crypto><con:crypto><con:source>/opt/gazelle/cert/jboss.jks</con:source><con:password>password</con:password><con:type>KEYSTORE</con:type></con:crypto></con:wssContainer><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project> \ No newline at end of file