Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2632

Add a test testing that the exception is thrown when incorrect "response" field is provided by the SASL client

XMLWordPrintable

      Add a test to CompatibilityServerTest that tests a server with the SASL DIGEST authentication. This test will use a client that sends all the correct fields, but change a value in the response field slightly.

      To know the correct field values that client can use in this test, take a look at the testRfc2831example1 test that has those hard-coded. You can use the same values, only change the response field. Make sure that the server will throw an exception indicating that the proof sent by the client was not valid when the response field differs.

      Test has to make sure that the exception thrown contains the "invalid proof" message

              mjusko@redhat.com Marek Jusko
              dvilkola@redhat.com Diana Krepinska
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: