Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Comprenant toutes les applications optionnelles ESUP-SGC ainsi qu'un authentification desfire sur la nouvelle application csn-domain (F585C2)

La desfireKey est à remplacer par la clé 01 de l'application F585C2 qui vous a été fournie.

Bloc de code
languagexml
    <bean id="dummyExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtDummy"/>
    
    <bean id="tagIdCheckApiLdap" class="org.esupportail.nfctag.service.api.impl.TagIdCheckLdap">
    	<property name="desfireSuffix" value="univ-ville.fr"/>
	<property name="description" value="via LDAP"/>
    </bean>
    <bean id="tagIdCheckApiDummy" class="org.esupportail.nfctag.service.api.impl.TagIdCheckDummyWs">
    	<property name="description" value="description"TagIdCheckDummy"/>
    </bean>
    <bean id="csnAuthConfig" class="org.esupportail.nfctag.service.api.impl.CsnAuthConfig">
    	<property name="description" value="Authentification CSN"/>
    </bean>
    <bean id="desfireAuthConfigComue" class="org.esupportail.nfctag.service.api.impl.DesfireReadConfig">
        <property name="desfireKeyNumber" value="01"/>
        <property name="desfireFileNumber" value="00"/>
        <property name="desfireAppId" value="via LDAPF585C2"/>
    </bean>
    <bean<property idname="tagIdCheckApiDummydesfireAppName" classvalue="org.esupportail.nfctag.service.api.impl.TagIdCheckDummyWs">
csn-domain"/>
        	<property name="descriptiondesfireFileOffset" value="TagIdCheckDummy000000"/>
    </bean>
    <bean<property idname="csnAuthConfigdesfireKey" classvalue="org.esupportail.nfctag.service.api.impl.CsnAuthConfig">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
       	 <property name="description" value="Authentification Desfire CSN-DOMAIN"/>
    </bean>
    <bean id="ldapContextSourceUnivville" class="org.springframework.ldap.core.support.LdapContextSource">
	<property name="url" value="ldap://ldap.univ-ville.fr" />
	<property name="base" value="dc=univ-ville,dc=fr" />
	<property name="userDn" value="cn=admin,dc=univ-ville,dc=fr" />
	<property name="password" value="XXXXXXXX" />
    </bean>    
    <bean id="ldapTemplateUnivville" class="org.springframework.ldap.core.LdapTemplate">  
    	<constructor-arg ref="ldapContextSourceUnivville" />  
    </bean>
    <bean id="ldapServiceUnivville" class="org.esupportail.nfctag.service.LdapService">
	<property name="ldapTemplate" ref="ldapTemplateUnivville" />
    </bean> 
    <bean id="esupSgcExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
    	<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
    	<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
    	<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locations"/>
    	<property name="description" value="Web Service Write Esup SGC"/>
    </bean>
    <bean id="esupSgcUpdateExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
        <property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
        <property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
        <property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsUpdater"/>
        <property name="description" value="Web Service Update Esup SGC"/>
    </bean>
	<bean id="esupSgcSearchExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
        <property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
        <property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
        <property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsSearch"/>
        <property name="description" value="Web Service Search Esup SGC"/>
    </bean>
    <bean id="esupSgcLivraisonExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
    	<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
    	<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
    	<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsLivreur"/>
    	<property name="description" value="Web Service livraison Esup SGC"/>
    </bean>
    <bean id="esupSgcVersoExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
    	<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
    	<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
    	<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsVerso"/>
    	<property name="displayUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/verso"/>
    	<property name="description" value="Web Service Verso Esup SGC"/>
    </bean>
    
    <bean id="tagIdCheckApiEsupSgc" class="org.esupportail.nfctag.service.api.impl.TagIdCheckRestWs">
	<property name="tagIdCheckUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/tagIdCheck"/>
	<property name="idFromEppnInitUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/idFromEppnInit"/>
	<property name="description" value="via Esup SGC"/>
    </bean>

...

La carte doit comporter les applications leocode (F585C0), idp2s (F585C1) et csn-domain (F585C2)

Chaque p:key est à remplacer par les clés qui vous ont été fournies (les clés p:keyNo=00 sont les master key respectives de chaque application)

Info

Suite à des modifications au niveau d'Esup-NFC-Tag-Server (possibilité de créer des applications vides, correction de l'application de mise à jour et optimisations) les TagUpdateRestWs sont supprimés. De plus un nouveau bean est à ajouter :

<bean id="dateLastUpdateEsupSgc" class="org.esupportail.nfctag.service.api.impl.TagLastUpdateRestWs">
<property name="wsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/lastUpdateFromCsn"/>
</bean>

Il permet de récupérer la date de dernier encodage de la carte en cours de mise à jour

Il faut aussi retirer l'attribut p:type au niveau de desfireKey et l'attribut p:keyVersionStart au niveau de desfireTag (ils ne sont plus utiles)

...