public abstract class AbstractResponseValidationParametersBuilder<T extends AbstractResponseValidationParametersBuilder<T>> extends AbstractValidationParametersBuilder<T>
ValidationContext
object for use as validation input to the
ResponseValidator
.
The reason for all fiddling with generics is that we want to be able to subclass the builder classes.
Constructor and Description |
---|
AbstractResponseValidationParametersBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
authnRequest(AuthnRequest authnRequest)
Assigns the
AuthnRequest that was sent to give the message we are validating. |
T |
authnRequestID(String authnRequestID)
Assigns the ID of the
AuthnRequest that was sent to give the message we are validating. |
T |
expectedIssuer(String expectedIssuer)
Assigns the expected issuer to be used when checking the issuer of an element.
|
T |
receiveInstant(Long receiveInstant)
Assigns the instant (millisecond since epoch) when the response message was received.
|
T |
receiveUrl(String receiveUrl)
Assigns the URL on which the message was received.
|
addDynamicParameter, addDynamicParameters, addStaticParameter, addStaticParameters, allowedClockSkew, build, dynamicParameter, getThis, maxAgeReceivedMessage, signatureRequired, signatureValidationCriteriaSet, staticParameter, strictValidation
public AbstractResponseValidationParametersBuilder()
public T receiveInstant(Long receiveInstant)
receiveInstant
- timestamp for when the message was receivedpublic T receiveUrl(String receiveUrl)
receiveUrl
- the URLpublic T expectedIssuer(String expectedIssuer)
expectedIssuer
- the issuer entityIDpublic T authnRequest(AuthnRequest authnRequest)
AuthnRequest
that was sent to give the message we are validating.authnRequest
- an AuthnRequest messageCopyright © 2018 Litsec AB. All rights reserved.