Package org.keycloak.saml.validators
Class DestinationValidator
- java.lang.Object
-
- org.keycloak.saml.validators.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DestinationValidator
forProtocolMap(String[] protocolMappings)
boolean
validate(String expectedDestination, String actualDestination)
boolean
validate(String expectedDestination, URI actualDestination)
boolean
validate(URI expectedDestination, String actualDestination)
boolean
validate(URI expectedDestination, URI actualDestination)
-
-
-
Method Detail
-
forProtocolMap
public static DestinationValidator forProtocolMap(String[] protocolMappings)
-
-