All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.gov.ida.saml.hub.factories.AttributeFactory Maven / Gradle / Ivy

The newest version!
package uk.gov.ida.saml.hub.factories;

import org.joda.time.LocalDate;
import org.opensaml.saml.saml2.core.Attribute;
import uk.gov.ida.saml.core.domain.Address;
import uk.gov.ida.saml.core.domain.Gender;
import uk.gov.ida.saml.core.domain.SimpleMdsValue;

import java.util.List;

public interface AttributeFactory {
    Attribute createFirstnameAttribute(List> firstnames);

    Attribute createMiddlenamesAttribute(List> middlenames);

    Attribute createSurnameAttribute(List> surname);

    Attribute createGenderAttribute(SimpleMdsValue gender);

    Attribute createDateOfBirthAttribute(List> dateOfBirths);

    Attribute createCurrentAddressesAttribute(List
currentAddresses); Attribute createPreviousAddressesAttribute(List
previousAddresses); Attribute createCycle3DataAttribute(String attributeName, String cycle3Data); Attribute createIdpFraudEventIdAttribute(String eventId); Attribute createGpg45StatusAttribute(String indicator); Attribute createUserIpAddressAttribute(String userIpAddress); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy