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

org.deegree.portal.standard.security.control
Class GetUserInfoListener

java.lang.Object
  extended by org.deegree.enterprise.control.ajax.AbstractListener
      extended by org.deegree.portal.standard.security.control.GetUserInfoListener

public class GetUserInfoListener
extends AbstractListener

TODO add class documentation here

Version:
$Revision: 22505 $, $Date: 2010-02-11 11:33:00 +0100 (Do, 11 Feb 2010) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Nested Class Summary
 class GetUserInfoListener.UserBean
           
 
Field Summary
 
Fields inherited from class org.deegree.enterprise.control.ajax.AbstractListener
timeout
 
Constructor Summary
GetUserInfoListener()
           
 
Method Summary
 void actionPerformed(WebEvent event, ResponseHandler responseHandler)
           
protected  GetUserInfoListener.UserBean readUserInformation(javax.servlet.http.HttpSession session)
          gets the user name assigned to the passed session ID from an authentication service.
 
Methods inherited from class org.deegree.enterprise.control.ajax.AbstractListener
getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetUserInfoListener

public GetUserInfoListener()
Method Detail

actionPerformed

public void actionPerformed(WebEvent event,
                            ResponseHandler responseHandler)
                     throws java.io.IOException
Specified by:
actionPerformed in class AbstractListener
Throws:
java.io.IOException

readUserInformation

protected GetUserInfoListener.UserBean readUserInformation(javax.servlet.http.HttpSession session)
                                                    throws XMLParsingException,
                                                           java.io.IOException,
                                                           org.xml.sax.SAXException
gets the user name assigned to the passed session ID from an authentication service. If no user is assigned to the session ID null will be returned. If the session is closed or expired an exception will be thrown

Parameters:
session -
Returns:
name of the user assigned to the passed session ID
Throws:
XMLParsingException
org.xml.sax.SAXException
java.io.IOException

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