Info |
---|
As of CONNECT 5.1, both files have been replaced with the more versatile exchangeInfo.xml and internalExchangeInfo.xml files. For users of CONNECT 5.0 and earlier versions, substitute references to these new files with the original uddiConnectionInfo.xml and internalConnectionInfo.xml files |
Table of Contents |
---|
Overview
...
Overview
The SAML Subject Confirmations are the method used to confirm the identity identify of the requester. These methods should be implemented at the adapter level and not present in the reference adapter. These tests are designed to verify the samlSubjectConfirmations using mock adapter and confirmed (success or fail) if the expected elements are missing from the request.
Test Detail
The Document Query (DQ) in Passthrough mode are running with JMX call script to set the CONNECT application to Passthrough without application restart and the test cases set up the expected samlSubjectConfirmations (HOK, bearer, sender-vouches) and response with registryError (Failure) if the expected elements are missing.
Update config (DQ)
Setup MockAdapter (samlSubjectConfirmations) to expected element.
Send DQ Request (with/without) samlSubjectConfirmations and verify expected result.
SAMLSubjectConfirmationTestSuite
HOK
MockAdapter expected samlSubjectConfirmations (HOK)
Update config
Document Query
Assert DocumentId
Expected status (success)
HOK-Bear-SenderVouches
MockAdapter expected samlSubjectConfirmations (HOK, Bearer, Sender-Vouches)
Update config
Document Query (samlSubjectConfirmations: Bearer, Sender-Vouches)
Assert DocumentId
Expected status (success)
HOK-SenderVouches
MockAdapter expected samlSubjectConfirmations (HOK, Sender-Vouches)
Update config
Document Query (samlSubjectConfirmations: Sender-Vouches)
Assert DocumentId
Expected status (success)
HOK-Missing-SenderVouches
MockAdapter expected samlSubjectConfirmations (HOK, Sender-Vouches)
Update config
Document Query
Assert status (Failure)
MockDQAdapter
...
Success (found expected samlSubjectConfirmations)
...
request. The TestSuite used mock adapter to verify that the request message passed along the SAML Subject Confirmation to the adapter level of Document Query service. The JMX script is to ensure that gateway is operated passthrough without the need for server restart.
TestCases Detail for passthrough
The Test cases is designed to verify success or failure response if the intended SAML Subject Confirmation is missing from the mock adapter validation with Document Query service.
HOK: success with just Holder of Key(HOK).
HOK-Bear-SenderVouches: success with HOK, Bear and SenderVouches
HOK-SenderVouches: success with HOK and SenderVouches
HOK-Missing-SenderVouches: failure with missing SenderVouches for SAML Subject Confirmations and expected HOK and SenderVouches validation