Class AssertionValidationSupport
- java.lang.Object
-
- org.opensaml.saml.saml2.assertion.impl.AssertionValidationSupport
-
public final class AssertionValidationSupport extends Object
Support methods for assertion validation.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAssertionValidationSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.opensaml.saml.common.assertion.ValidationResultcheckAddress(org.opensaml.saml.common.assertion.ValidationContext context, String address, String validAddressesParam, org.opensaml.saml.saml2.core.Assertion assertion, String description)Check an address from an assertion using valid values obtained from the validation context.
-
-
-
Field Detail
-
LOG
private static final Logger LOG
Logger.
-
-
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 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
-
-