deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.portlet.modules.actions
Class LoginUser

java.lang.Object
  extended by org.deegree.portal.portlet.modules.actions.LoginUser

 class LoginUser
extends java.lang.Object

This class can be used within listener classes that will be called if a user logs in into a portal. It reads the context documents from the users context directory that are storing the state of the maps when the users has logged out the last time.
At the moment a concrete listener is available for Jetspeed 1.6

Version:
$Revision: 18195 $, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $
See Also:
IGeoJetspeed16LoginUser

Constructor Summary
LoginUser()
           
 
Method Summary
(package private)  java.io.File ensureDirectory(javax.servlet.ServletContext sc, java.lang.String user)
          validates if a WMC directory for the passed user is already available and creates it if not.
(package private)  void readContextDocuments(java.io.File dir, javax.servlet.http.HttpSession ses, User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginUser

LoginUser()
Method Detail

ensureDirectory

java.io.File ensureDirectory(javax.servlet.ServletContext sc,
                             java.lang.String user)
validates if a WMC directory for the passed user is already available and creates it if not. The user's WMC directory will be returned as in instance of <@link File>

Parameters:
user -
sc -
Returns:
user's WMC directory

readContextDocuments

void readContextDocuments(java.io.File dir,
                          javax.servlet.http.HttpSession ses,
                          User user)
Parameters:
dir -
ses -
user -

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org