uk.gov.ida.saml.metadata.domain.HubIdentityProviderMetadataDto Maven / Gradle / Ivy
package uk.gov.ida.saml.metadata.domain;
import org.joda.time.DateTime;
import uk.gov.ida.common.shared.security.Certificate;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import static java.util.Collections.singletonList;
public class HubIdentityProviderMetadataDto extends MetadataDto {
private Collection idpSigningCertificates;
private Collection singleSignOnEndpoints = new ArrayList<>();
public HubIdentityProviderMetadataDto(
Collection singleSignOnEndpoints,
String entityId,
OrganisationDto organisation,
Collection contactPersons,
Collection idpSigningCertificates,
DateTime validUntil,
List hubSigningCertificates,
Certificate hubEncryptionCertificate) {
super(entityId, validUntil, organisation, contactPersons, hubSigningCertificates, singletonList(hubEncryptionCertificate));
this.singleSignOnEndpoints = singleSignOnEndpoints;
this.idpSigningCertificates = idpSigningCertificates;
}
public Collection getIdpSigningCertificates() {
return idpSigningCertificates;
}
public Collection getSingleSignOnEndpoints() {
return singleSignOnEndpoints;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy