====== Collegamento di un SP non federato all'IdP di Ateneo ====== Il modo più corretto di autenticare utenti universitari sui propri servizi web è quello di [[https://www.idem.garr.it/come-partecipare|federarsi]] ad IDEM / eduGAIN come resource provider. Le formalità sul trattamento dei dati personali sono automaticamente assolte dal regolamento di federazione e dalle attività deò gestore della federazione. Tuttavia, laddove quanto sopra non fosse possibile, riportiamo di seguito le istruzioni per un peering diretto fra SP ed IdP SAML. Ricordiamo che l'attivazione del collegamento effettivo all'SP in questo caso è subordinata all'espletamento delle formalità richieste dagli uffici universitari in materia di trattamento dei dati personali. ======= Requisiti sui metadati ======= Nei metadati DEVONO essere valorizzati: * ServiceName * mdui:DisplayName * mdui:PrivacyStatementURL * mdui:Logo * ArtifactResolutionService * AssertionConsumerService * RequestedAttribute indicando isRequired="true" se l'attributo è necessario per l'erogazione del servizio. * possibilmente SingleLogoutService (Single Logout al momento non ancora funzionante sul nostro IdP) Tutte le url devono essere in https. Il nostro IdP supporta SOLO SAML 2.0 Esempio di alcune parti dei metadati: ... ... Nome del Servizio Service Name Descrizione del Servizio Service Description ... ... Service Name Nome del servizio Service description Descrizione del servizio https://... https://... https://... https://... https://... https://... https://... https://... ... Nome dell'organizzazione Organization Name Nome dell'organizzazione Organization Name https://organization.url/ Administrator Service mailto:username@domain.tld ... ======= Requisiti minimi sul certificato ======= Public-Key: (2048 bit) Signature Algorithm: sha256WithRSAEncryption ======= Entry point ======= Dichiarare la pagina / le pagine da cui l'utente accede al servizio. Questo avviene solitamente tramite email/ticket a rete @ units.it ======= Validazione dei metadati ======= E' possibile validare i metadati presenti in una url web su https://technical.edugain.org/validator selezionando le lingue //"it"// e //"en"// e //"Metadata URL contains only one entity"// Le specifiche di SAML 2.0 si trovano su [[https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf]] ======= Metadati dell'IdP ======= I metadati dell'IdP sono presenti sul [[https://registry.idem.garr.it/rr3/metadata/service/aHR0cHM6Ly9pZGVtZmVyby51bml0cy5pdC9pZHAvc2hpYmJvbGV0aA~~/metadata.xml|GARR IDEM Registry]] Si consiglia di usare tale risorsa come autoritativa per l'aggiornamento degli stessi. ======= Attributi generalmente disponibili se richiesti ======= |eduPersonAffiliation|Affiliation: Type of affiliation with Home Organization| |eduPersonTargetedID|A pseudonomynous ID generated by the IdP that is unique to each SP| |eduPersonScopedAffiliation|the affiliation of the user to the organisation concatendated with the domain name of the org (e.g. staff@dcu.ie)| |eduPersonPrincipalName|eduPerson per Internet2 and EDUCAUSE see http://www.nmi-edit.org/eduPerson/draft-internet2-mace| |surname|Surname or family name| |displayName|A single string value indicating the preferred name of a person to be used for display purposes.| |givenName|Given name of a person| |sAMAccountName|sAMAccountName from Active Directory| |schacMotherTongue|Is the language a person learns first. Correspondingly, the person is called a native speaker of the language. Usually a child learns the basics of their first language from their family.| |commonName|CommonName| |email|E-Mail: Preferred address for e-mail to be sent to this person| |telephoneNumber|Business phone number: Office or campus phone number| |schacHomeOrganization|Specifies a person´s home organization using the domain name of the organization| |schacHomeOrganizationType|Identifies the type of organisation specified in the person's schacHomeOrganization attribute.| |schacPersonalUniqueCode| attributes of the following schema: urn:schac:personalUniqueCode:int:esi:units.it: urn:schac:personalUniqueID:it:CF: | |schacPersonalUniqueID|Specifies a "legal unique identifier" for the subject it is associated with.| |eduPersonEntitlement|Member of: URI (either URL or URN) that indicates a set of rights to specific resources based on an agreement ac| ======= Entity Categories internazionali supportate ======= * Research and Scholarship Entity Category for IdPs * Code of Conduct v1 for IdPs * SIRTFI * European Student Identifier for IdPs