Class ValidSamlResponseMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Document>
com.atlassian.crowd.acceptance.tests.bettersso.matcher.ValidSamlResponseMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<Document>, org.hamcrest.SelfDescribing

public class ValidSamlResponseMatcher extends org.hamcrest.TypeSafeMatcher<Document>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValidSamlResponseMatcher(Instant whenRequestWasSent, String expectedNameIdFormat, String expectedSamlConsumerUrl, String expectedRequestId, String expectedNameIdValue, String expectedAudience, String expectedIssuer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(Document samlResponse)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ValidSamlResponseMatcher

      public ValidSamlResponseMatcher(Instant whenRequestWasSent, String expectedNameIdFormat, String expectedSamlConsumerUrl, String expectedRequestId, String expectedNameIdValue, String expectedAudience, String expectedIssuer)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(Document samlResponse)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<Document>
    • describeTo

      public void describeTo(org.hamcrest.Description description)