Class AssertionConsumerServiceValidator

java.lang.Object
se.swedenconnect.spring.saml.idp.authnrequest.validation.AssertionConsumerServiceValidator
All Implemented Interfaces:
AuthnRequestValidator

public class AssertionConsumerServiceValidator extends Object implements AuthnRequestValidator
Asserts that the AssertionConsumerService information given in the AuthnRequest is registered in the SAML metadata. Updates the Saml2AuthnRequestAuthenticationToken with this information.

A request where AssertionConsumerServiceIndex is combined with AssertionConsumerServiceURL or ProtocolBinding is rejected. According to SAML Core, Section 3.4.1, these are mutually exclusive.

Author:
Martin Lindström