portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions NTLMSessionValidator.java
Date Tue, 08 Jul 2003 18:29:15 GMT
morciuch    2003/07/08 11:29:15

  Modified:    src/java/org/apache/jetspeed/modules/actions
                        NTLMSessionValidator.java
  Log:
  Missed this from the original implementation.
  
  Revision  Changes    Path
  1.3       +6 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/NTLMSessionValidator.java
  
  Index: NTLMSessionValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/NTLMSessionValidator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NTLMSessionValidator.java	16 May 2003 21:54:27 -0000	1.2
  +++ NTLMSessionValidator.java	8 Jul 2003 18:29:15 -0000	1.3
  @@ -73,6 +73,7 @@
   import org.apache.jetspeed.util.ServiceUtil;
   import org.apache.jetspeed.services.customlocalization.CustomLocalizationService;
   import org.apache.jetspeed.services.security.UnknownUserException;
  +import org.apache.jetspeed.services.security.JetspeedSecurityCache;
   
   /**
    * Just like org.apache.turbine.modules.actions.sessionvalidator.TemplateSessionValidator
except:
  @@ -184,6 +185,10 @@
                       user.setHasLoggedIn(new Boolean(true));
                       user.updateLastLogin();
                       data.save();
  +                    if (JetspeedSecurityCache.getAcl(userName) == null)
  +                    {
  +                        JetspeedSecurityCache.load(userName);
  +                    }
                       Log.info("NTLMSessionValidator: automatic login using [" + userName
+ "]");
                   }
                   catch (LoginException noSuchUser)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message