[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Shane Bryzak
Shane_Bryzak at symantec.com
Mon Jan 29 07:44:40 EST 2007
User: sbryzak2
Date: 07/01/29 07:44:40
Modified: src/main/org/jboss/seam/security Identity.java
Log:
subject cannot be created in login() method
Revision Changes Path
1.24 +2 -3 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.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- Identity.java 28 Jan 2007 05:25:01 -0000 1.23
+++ Identity.java 29 Jan 2007 12:44:40 -0000 1.24
@@ -92,6 +92,7 @@
@Create
public void create()
{
+ subject = new Subject();
securityContext = securityRules.newWorkingMemory(false);
}
@@ -185,8 +186,6 @@
public void login(LoginContext loginContext)
throws LoginException
{
- subject = new Subject();
-
CallbackHandler handler = createCallbackHandler(username, password);
if (loginContext == null)
More information about the jboss-cvs-commits
mailing list