Class DestinationValidator


  • public class DestinationValidator
    extends Object
    Check that Destination field in SAML request/response is either unset or matches the expected one.
    Author:
    hmlnarik
    • Method Detail

      • validate

        public boolean validate​(String expectedDestination,
                                String actualDestination)
      • validate

        public boolean validate​(String expectedDestination,
                                URI actualDestination)
      • validate

        public boolean validate​(URI expectedDestination,
                                String actualDestination)
      • validate

        public boolean validate​(URI expectedDestination,
                                URI actualDestination)