[Castore-commits] LdapAuthentification.java 1.7 1.8

Céline BENOIT cbenoit at adullact1.hosting.cri74.org
Lun 15 Mai 16:36:41 CEST 2006


Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/users/authentification
In directory adullact1:/tmp/cvs-serv26912/src/java/fr/emn/castor/users/authentification

Modified Files:
	LdapAuthentification.java 
Log Message:
rectification d'un bug lié aux modifications sur les constantes True, false -> VraiFauxEnum

Index: LdapAuthentification.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/users/authentification/LdapAuthentification.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** LdapAuthentification.java	11 May 2006 13:37:11 -0000	1.7
--- LdapAuthentification.java	15 May 2006 14:36:39 -0000	1.8
***************
*** 60,64 ****
  
  import fr.emn.castor.common.PropertiesHelper;
- import fr.emn.castor.common.Constants.VraiFauxEnum;
  import fr.emn.castor.users.UsersConstants;
  
--- 60,63 ----
***************
*** 240,244 ****
                  Attributes attrs;
                  String dn = sr.getName() + "," + this.ldapBase;
!                 if (bind.equals(VraiFauxEnum.VRAI)) {
                      try {
                          // on essaye de s'authentifier
--- 239,243 ----
                  Attributes attrs;
                  String dn = sr.getName() + "," + this.ldapBase;
!                 if (bind.equals("true")) {
                      try {
                          // on essaye de s'authentifier




Plus d'informations sur la liste de diffusion Castore-commits