public abstract class AbstractAssertionValidationParametersBuilder<T extends AbstractAssertionValidationParametersBuilder<T>> extends AbstractResponseValidationParametersBuilder<T>
ValidationContext object for use as validation input to the
AssertionValidator.
The reason for all fiddling with generics is that we want to be able to subclass the builder classes.
| Constructor and Description |
|---|
AbstractAssertionValidationParametersBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
authnRequestForceAuthn(Boolean forceAuthn)
Assigns the
ForceAuthn flag from the corresponding AuthnRequest. |
T |
authnRequestIssueInstant(Long issueInstant)
Assigns the issuance time for the corresponding
AuthnRequest when validating an assertion. |
T |
maxAcceptedSsoSessionTime(Long duration)
Assigns the maximum session time that we, as a SP, can accept when receiving assertions based on older
authentications (SSO).
|
T |
responseIssueInstant(Long instant)
Assigns the issue instant from the Response message that contained the assertion being validated.
|
T |
validAddresses(InetAddress... addresses)
Assigns the valid addresses that we allow the user agent to have.
|
T |
validAudiences(String... audiences)
Assigns the entityID:s of the valid audiences.
|
T |
validRecipients(String... recipients)
Assigns the valid URLs for the intended recipients.
|
authnRequest, authnRequestID, expectedIssuer, receiveInstant, receiveUrladdDynamicParameter, addDynamicParameters, addStaticParameter, addStaticParameters, allowedClockSkew, build, dynamicParameter, getThis, maxAgeReceivedMessage, signatureRequired, signatureValidationCriteriaSet, staticParameter, strictValidationpublic AbstractAssertionValidationParametersBuilder()
public T responseIssueInstant(Long instant)
instant - the response issue instantpublic T validRecipients(String... recipients)
recipients - one or more URLspublic T validAddresses(InetAddress... addresses)
addresses - one or more IP addressespublic T validAudiences(String... audiences)
audiences - the audiencespublic T authnRequestForceAuthn(Boolean forceAuthn)
ForceAuthn flag from the corresponding AuthnRequest.forceAuthn - true/falsepublic T authnRequestIssueInstant(Long issueInstant)
AuthnRequest when validating an assertion.issueInstant - issue time (in milliseconds since epoch)Copyright © 2018 Litsec AB. All rights reserved.