Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<body onload='document.location.href="../servlet/Routeur";'>
<web-app>
<servlet>
<servlet-name>Routeur</servlet-name>
<servlet-class>fr.ca.proto.rci.Routeur</servlet-class>
<init-param>
<param-name>CONFIGURATION_LDAP</param-name>
<param-value>c:\\tomcat\\jakarta-tomcat-3.3.1\\webapps\\Trombinoscope\\WEB-INF\\config\\LDAPConfig.conf</param-value>
</init-param>
<init-param>
<param-name>CONFIGURATION_PROTO_RCI</param-name>
<param-value>c:\\tomcat\\jakarta-tomcat-3.3.1\\webapps\\Trombinoscope\\WEB-INF\\config\\ProtoRCIConfig.conf</param-value>
</init-param>
</servlet>
...
</web-app>
public void init(ServletConfig servletconfig)
throws ServletException
{
super.init(servletconfig);
try
{
String tmpStr = servletconfig.getInitParameter("CONFIGURATION_LDAP");
LDAPConfig.setParamFile(tmpStr);
LDAPConfig.loadParam();
tmpStr = servletconfig.getInitParameter("CONFIGURATION_PROTO_RCI");
ProtoRCIConfig.setParamFile(tmpStr);
ProtoRCIConfig.LoadParam();
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CONSULTATION_ORGANISATION), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CONSULTATION_ORGANISATION_CAI), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_LISTE_FILIALES_CAI), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_LISTE_ORGANISATION_POPUP), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_LISTE_UNITE_POPUP), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CONSULTATION_PERSONNE), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CREATION_PERSONNE), new String("I_TRBCREAT"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_MODIFICATION_PERSONNE), new String("I_TRBMODIF"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_SUPPRESSION_PERSONNE), new String("I_TRBSUPPR"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CONSULTATION_UNITE), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_CREATION_UNITE), new String("I_TRBCREAT"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_MODIFICATION_UNITE), new String("I_TRBMODIF"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_SUPPRESSION_UNITE), new String("I_TRBSUPPR"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_PHOTO), new String("I_TRBPHOT"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_RECHERCHE_PERSONNE), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_RECHERCHE_PERSONNE_POPUP), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_RESULTAT_RECHERCHE_PERSONNE), new String("I_TRBVISU"));
pagesIU.put(new String(ProtoRCIConfig.SERVLET_TELECHARGER_RESULTAT), new String("I_TRBVISU"));
}
catch(Exception exception)
{
exception.printStackTrace();
}
}
##### Définition des classes d'objet LDAP #################################
###########################################################################
OC_ADRESSE=top,caorganisationaladdress
OC_EXTERNE=top,person,organizationalperson,inetorgperson,caextern
OC_GROUPE=top,groupofuniquenames,cagroup
OC_LOCALISATION=top,caorganisationaladdress,calocalisation
OC_ORGANISATION=top,organization,caorganisation
OC_PERSONNE=top,person,organizationalperson,inetorgperson,caperson
OC_SALLE=top,room,caconferenceroom
OC_SUCCURSALE=top,organizationalunit,caunit,cabranchoffice
OC_UNITE=top,organizationalunit,caunit
##### Définition des attributs requis #####################################
###########################################################################
ADRESSE_ATTRIBUTS_REQUIS=cn
EXTERNE_ATTRIBUTS_REQUIS=cn,sn
GROUPE_ATTRIBUTS_REQUIS=cn
ORGANISATION_ATTRIBUTS_REQUIS=o
PERSONNE_ATTRIBUTS_REQUIS=cn,sn
SALLE_ATTRIBUTS_REQUIS=cn
UNITE_ATTRIBUTS_REQUIS=ou
##### Définition des branches de l'arborescence du DIT ####################
###########################################################################
RACINE_SCHEMA=o=Credit Agricole
OU_ADRESSE=ou=Localisations
OU_EXTERNE=ou=Externs
OU_DIVERS=ou=Facilities
OU_GROUPE=ou=Groups
OU_PERSONNE=ou=People
OU_SALLE=ou=ConferenceRooms,ou=Facilities
OU_UNITE=ou=Units
##### Définition des paramètres de connexion au serveur LDAP ##############
###########################################################################
IP_SERVEUR_LDAP=127.0.0.1
PORT_SERVEUR_LDAP=390
LOGIN_SERVEUR_LDAP=cn=Directory Manager
PASSWORD_SERVEUR_LDAP=root0001
LDAP_SIZE_LIMIT=0
LDAP_TIME_LIMIT=0