[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security/jaas ...
Shane Bryzak
sbryzak at redhat.com
Thu Jan 3 02:52:28 EST 2008
User: sbryzak2
Date: 08/01/03 02:52:28
Modified: src/main/org/jboss/seam/security/jaas SeamLoginModule.java
Log:
added NoSuchUserException, improved exception handling, other minor changes
Revision Changes Path
1.11 +6 -3 jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamLoginModule.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- SeamLoginModule.java 3 Jan 2008 03:51:03 -0000 1.10
+++ SeamLoginModule.java 3 Jan 2008 07:52:28 -0000 1.11
@@ -123,10 +123,13 @@
{
boolean success = identityManager.authenticate(username, identity.getPassword());
+ if (success)
+ {
for (String role : identityManager.getImpliedRoles(username))
{
identity.addRole(role);
}
+ }
return success;
}
More information about the jboss-cvs-commits
mailing list