You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/09/18 23:00:18 UTC

svn commit: r577060 - in /geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security: BogusUserAuthenticator.java SecurityFilter.java

Author: jdillon
Date: Tue Sep 18 14:00:17 2007
New Revision: 577060

URL: http://svn.apache.org/viewvc?rev=577060&view=rev
Log:
Blah, blah, blah

Modified:
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/BogusUserAuthenticator.java
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/SecurityFilter.java

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/BogusUserAuthenticator.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/BogusUserAuthenticator.java?rev=577060&r1=577059&r2=577060&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/BogusUserAuthenticator.java (original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/BogusUserAuthenticator.java Tue Sep 18 14:00:17 2007
@@ -30,7 +30,7 @@
  *
  * @version $Rev$ $Date$
  */
-@Component(role=UserAuthenticator.class, hint="bogus")
+@Component(role=UserAuthenticator.class, hint="default") // FIXME: hint="bogus")
 public class BogusUserAuthenticator
     implements UserAuthenticator
 {

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/SecurityFilter.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/SecurityFilter.java?rev=577060&r1=577059&r2=577060&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/SecurityFilter.java (original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/security/SecurityFilter.java Tue Sep 18 14:00:17 2007
@@ -77,7 +77,7 @@
     
     public void init() throws Exception {
         // Install the schedule purger to purge any cancelled tasks to prevent memory leaks
-        scheduler.scheduleWithFixedDelay(new SchedulePurgerTask(), 10000, 10000, TimeUnit.MILLISECONDS);
+        scheduler.scheduleWithFixedDelay(new SchedulePurgerTask(), 10, 10, TimeUnit.SECONDS);
     }
 
     public void destroy() throws Exception {
@@ -209,7 +209,7 @@
     }
 
     private ScheduledFuture scheduleTimeout(final IoSession session) {
-        return scheduleTimeout(session, 5000, TimeUnit.MILLISECONDS);
+        return scheduleTimeout(session, 10, TimeUnit.SECONDS);
     }
     
     private boolean cancelTimeout(final IoSession session) {