001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wass/was/operation/DescribeUser.java $
002 /*---------------- FILE HEADER ------------------------------------------
003 This file is part of deegree.
004 Copyright (C) 2001-2006 by:
005 Department of Geography, University of Bonn
006 http://www.giub.uni-bonn.de/deegree/
007 lat/lon GmbH
008 http://www.lat-lon.de
009 This library is free software; you can redistribute it and/or
010 modify it under the terms of the GNU Lesser General Public
011 License as published by the Free Software Foundation; either
012 version 2.1 of the License, or (at your option) any later version.
013 This library is distributed in the hope that it will be useful,
014 but WITHOUT ANY WARRANTY; without even the implied warranty of
015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016 Lesser General Public License for more details.
017 You should have received a copy of the GNU Lesser General Public
018 License along with this library; if not, write to the Free Software
019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020 Contact:
021 Andreas Poth
022 lat/lon GmbH
023 Aennchenstraße 19
024 53177 Bonn
025 Germany
026 E-Mail: poth@lat-lon.de
027 Jens Fitzke
028 lat/lon GmbH
029 Aennchenstraße 19
030 53177 Bonn
031 Germany
032 E-Mail: jens.fitzke@uni-bonn.de
033 ---------------------------------------------------------------------------*/
034 package org.deegree.ogcwebservices.wass.was.operation;
035
036 import java.util.Map;
037
038 import org.deegree.ogcwebservices.AbstractOGCWebServiceRequest;
039
040 /**
041 * <code>DescribeUser</code> is the request class for the deegree specific DescribeUser
042 * operation. The DescribeUser operation returns user data such as email address when given
043 * a session ID.
044 *
045 * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
046 * @author last edited by: $Author: bezema $
047 *
048 * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
049 *
050 * @since 2.0
051 */
052
053 public class DescribeUser extends AbstractOGCWebServiceRequest {
054
055 private static final long serialVersionUID = 6876661820417769484L;
056
057 private String sessionID;
058
059 /**
060 * Creates a new <code>DescribeUser</code> object from the given
061 * values.
062 *
063 * @param id the request id
064 * @param values the request parameters
065 */
066 public DescribeUser( String id, Map<String, String> values ) {
067 super( values.get( "VERSION" ), id, values );
068 sessionID = values.get( "SESSIONID" );
069 }
070
071 /**
072 * @return Returns the session id.
073 */
074 public String getSessionID() {
075 return sessionID;
076 }
077
078 public String getServiceName() {
079 return "WAS";
080 }
081
082 }
083
084
085 /* ********************************************************************
086 Changes to this class. What the people have been up to:
087 $Log$
088 Revision 1.2 2006/08/24 06:42:17 poth
089 File header corrected
090
091 Revision 1.1 2006/08/11 08:58:50 schmitz
092 WAS implements the DescribeUser operation.
093
094
095
096 ********************************************************************** */