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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]