[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Gavin King
gavin.king at jboss.com
Tue Jan 30 23:09:08 EST 2007
User: gavin
Date: 07/01/30 23:09:08
Modified: src/main/org/jboss/seam/security Identity.java
Log:
logging
Revision Changes Path
1.34 +3 -2 jboss-seam/src/main/org/jboss/seam/security/Identity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Identity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Identity.java 31 Jan 2007 01:13:01 -0000 1.33
+++ Identity.java 31 Jan 2007 04:09:08 -0000 1.34
@@ -173,12 +173,13 @@
try
{
authenticate();
+ log.debug("Login successful for: " + getUsername());
return "success";
}
catch (LoginException ex)
{
- log.error("Login error", ex);
- FacesMessages.instance().add("Login failed.");
+ log.debug("Login failed for:" + getUsername(), ex);
+ FacesMessages.instance().add("Login failed");
return null;
}
}
More information about the jboss-cvs-commits
mailing list