geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r151574 - geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java
Date Sun, 06 Feb 2005 11:19:53 GMT
Author: jgenender
Date: Sun Feb  6 03:19:51 2005
New Revision: 151574

URL: http://svn.apache.org/viewcvs?view=rev&rev=151574
Log:
Saved policy context id

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java?view=diff&r1=151573&r2=151574
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatGeronimoRealm.java
Sun Feb  6 03:19:51 2005
@@ -173,16 +173,13 @@
                                          SecurityConstraint[] constraints)
             throws IOException {
 
-        //Set the proper context
-        PolicyContext.setContextID(policyContextID);
-
         //Get an authenticated subject, if there is one
         Subject subject = null;
         try {
 
             //We will use the PolicyContextHandlerContainerSubject.HANDLER_KEY to see if
a user
             //has authenticated, since a request.getUserPrincipal() will not pick up the
user
-            //unless its using a acached session.
+            //unless its using a cached session.
             subject = (Subject) PolicyContext.getContext(PolicyContextHandlerContainerSubject.HANDLER_KEY);
 
         } catch (PolicyContextException e) {



Mime
View raw message