view flys-client/src/main/java/de/intevation/flys/client/server/RemoteServiceServlet.java @ 3705:f84ed73311f2

Added UI for minfo bed quality calculation and added new services for overview charts. flys-client/trunk@5444 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 12 Sep 2012 14:32:17 +0000
parents a050cb5f303f
children 887d7001eeec
line wrap: on
line source
package de.intevation.flys.client.server;

import de.intevation.flys.client.server.auth.User;

import javax.servlet.http.HttpSession;

public class RemoteServiceServlet
extends      com.google.gwt.user.server.rpc.RemoteServiceServlet
{
    /**
     * Return the current logged in user from the HTTP Session
     */
    public User getUser() {
        HttpSession session = this.getThreadLocalRequest().getSession();
        return (User)session.getAttribute("user");
    }
}

http://dive4elements.wald.intevation.org