geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r496913 - /geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
Date Wed, 17 Jan 2007 01:57:37 GMT
Author: djencks
Date: Tue Jan 16 17:57:37 2007
New Revision: 496913

URL: http://svn.apache.org/viewvc?view=rev&rev=496913
Log:
GERONIMO-2744 expose loginContext so app client can log out programatically

Modified:
    geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java

Modified: geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java?view=diff&rev=496913&r1=496912&r2=496913
==============================================================================
--- geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
(original)
+++ geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
Tue Jan 16 17:57:37 2007
@@ -42,6 +42,8 @@
 public final class AppClientContainer {
     private static final Class[] MAIN_ARGS = {String[].class};
 
+    public static LoginContext loginContext;
+
     private final String mainClassName;
     private final AppClientPlugin jndiContext;
     private final AbstractName appClientModuleName;
@@ -111,7 +113,7 @@
         ClassLoader oldClassLoader = thread.getContextClassLoader();
         Callers oldCallers = ContextManager.getCallers();
         Subject clientSubject = defaultSubject;
-        LoginContext loginContext = null;
+//        LoginContext loginContext = null;
         try {
             thread.setContextClassLoader(classLoader);
             if (callbackHandlerClass != null) {



Mime
View raw message