Class AssertionValidationSupport
- java.lang.Object
-
- org.opensaml.saml.saml2.assertion.impl.AssertionValidationSupport
-
public final class AssertionValidationSupport extends Object
Support methods for assertion validation.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
LOG
Logger.
-
Constructor Summary
Constructors Modifier Constructor Description private
AssertionValidationSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationResult
checkAddress(ValidationContext context, String address, String validAddressesParam, Assertion assertion, String description)
Check an address from an assertion using valid values obtained from the validation context.
-
-
-
Method Detail
-
checkAddress
@Nonnull public static ValidationResult checkAddress(@Nonnull ValidationContext context, @Nullable String address, @Nonnull String validAddressesParam, @Nonnull Assertion assertion, @Nonnull String description)
Check an address from an assertion using valid values obtained from the validation context.- Parameters:
context
- the validation contextaddress
- the address to be evaluatedvalidAddressesParam
- the name of the context parameter holding the set of valid addressesassertion
- the assertion which is the context for evaluationdescription
- a brief description string used in logging messages- Returns:
- the validation result
-
-