Class AssertionValidationSupport


  • public final class AssertionValidationSupport
    extends Object
    Support methods for assertion validation.
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
        Logger.
    • Constructor Detail

      • AssertionValidationSupport

        private AssertionValidationSupport()
    • Method Detail

      • checkAddress

        @Nonnull
        public static org.opensaml.saml.common.assertion.ValidationResult checkAddress​(@Nonnull
                                                                                       org.opensaml.saml.common.assertion.ValidationContext context,
                                                                                       @Nullable
                                                                                       String address,
                                                                                       @Nonnull
                                                                                       String validAddressesParam,
                                                                                       @Nonnull
                                                                                       org.opensaml.saml.saml2.core.Assertion assertion,
                                                                                       @Nonnull
                                                                                       String description)
        Check an address from an assertion using valid values obtained from the validation context.
        Parameters:
        context - the validation context
        address - the address to be evaluated
        validAddressesParam - the name of the context parameter holding the set of valid addresses
        assertion - the assertion which is the context for evaluation
        description - a brief description string used in logging messages
        Returns:
        the validation result