uk.gov.ida.saml.hub.domain.InboundResponseFromIdp Maven / Gradle / Ivy
package uk.gov.ida.saml.hub.domain;
import org.joda.time.DateTime;
import org.opensaml.xmlsec.signature.Signature;
import uk.gov.ida.saml.core.domain.IdaSamlResponse;
import uk.gov.ida.saml.core.domain.PassthroughAssertion;
import java.net.URI;
import java.util.Optional;
public class InboundResponseFromIdp extends IdaSamlResponse {
private Optional matchingDatasetAssertion;
private Optional authnStatementAssertion;
private Optional notOnOrAfter;
private Optional signature;
private IdpIdaStatus status;
public InboundResponseFromIdp(
String id,
String inResponseTo,
String issuer,
DateTime issueInstant,
Optional notOnOrAfter,
IdpIdaStatus status,
Optional signature,
Optional matchingDatasetAssertion,
URI destination,
Optional authnStatementAssertion) {
super(id, issueInstant, inResponseTo, issuer, destination);
this.notOnOrAfter = notOnOrAfter;
this.signature = signature;
this.matchingDatasetAssertion = matchingDatasetAssertion;
this.authnStatementAssertion = authnStatementAssertion;
this.status = status;
}
public Optional getMatchingDatasetAssertion() {
return matchingDatasetAssertion;
}
public Optional getAuthnStatementAssertion() {
return authnStatementAssertion;
}
public Optional getSignature() {
return signature;
}
public IdpIdaStatus getStatus() {
return status;
}
public Optional getNotOnOrAfter() {
return notOnOrAfter;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy