geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r526585 - /geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java
Date Sun, 08 Apr 2007 17:45:47 GMT
Author: djencks
Date: Sun Apr  8 10:45:46 2007
New Revision: 526585

URL: http://svn.apache.org/viewvc?view=rev&rev=526585
Log:
GERONIMO-3073 get Subject from ContextManager

Modified:
    geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java

Modified: geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java?view=diff&rev=526585&r1=526584&r2=526585
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/GeronimoIdentityResolver.java
Sun Apr  8 10:45:46 2007
@@ -28,7 +28,7 @@
  */
 public class GeronimoIdentityResolver implements IdentityResolver {
     public Object getIdentity() {
-        Subject subject = Subject.getSubject(AccessController.getContext());
+        Subject subject = ContextManager.getCurrentCaller();
         if (subject == null) {
             return null;
         }



Mime
View raw message