[Castore-commits] ConnexionAspect.aj 1.1 1.1.2.1
Stéphane Bouchet
sbouchet at adullact1.hosting.cri74.org
Lun 6 Mar 10:53:12 CET 2006
Update of /cvsroot/castore/castore-core/src/aspects/fr/emn/castor/users/authentification/aspects
In directory adullact1:/tmp/cvs-serv20023/src/aspects/fr/emn/castor/users/authentification/aspects
Modified Files:
Tag: v1_1_branch
ConnexionAspect.aj
Log Message:
correction bug du profil.
refactoring des aspects ( utilisation de target() )
Index: ConnexionAspect.aj
===================================================================
RCS file: /cvsroot/castore/castore-core/src/aspects/fr/emn/castor/users/authentification/aspects/ConnexionAspect.aj,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** ConnexionAspect.aj 15 Sep 2005 14:46:42 -0000 1.1
--- ConnexionAspect.aj 6 Mar 2006 09:53:10 -0000 1.1.2.1
***************
*** 58,77 ****
//apres la capture de l'evenement, ...
! after(String loginUser, String motPasse) : seConnecter(
! loginUser,
! motPasse) {
if (AspectLog.getLog().isDebugEnabled()) {
AspectLog.getLog().debug("Connexion de " + loginUser);
}
-
//construction de la signature de l'evenement
! String eventSignature = thisJoinPointStaticPart.getSignature().getDeclaringTypeName()
+ "." + thisJoinPointStaticPart.getSignature().getName();
-
//construction de l'evenement : se connecter
fr.emn.castor.statistiques.Facade.getInstance().addNewEvent(
! eventSignature, loginUser, null);
!
}
-
}
--- 58,72 ----
//apres la capture de l'evenement, ...
! after(String loginUser, String motPasse) : seConnecter(loginUser,motPasse) {
if (AspectLog.getLog().isDebugEnabled()) {
AspectLog.getLog().debug("Connexion de " + loginUser);
}
//construction de la signature de l'evenement
! String eventSignature = thisJoinPointStaticPart
! .getSignature().getDeclaringTypeName()
+ "." + thisJoinPointStaticPart.getSignature().getName();
//construction de l'evenement : se connecter
fr.emn.castor.statistiques.Facade.getInstance().addNewEvent(
! eventSignature, loginUser, null);
}
}
Plus d'informations sur la liste de diffusion Castore-commits