org.deegree.services.wms.controller.security
Class DummyWMSSecurityManager

java.lang.Object
  extended by org.deegree.services.wms.controller.security.DummyWMSSecurityManager
All Implemented Interfaces:
WMSSecurityManager

public class DummyWMSSecurityManager
extends Object
implements WMSSecurityManager

Dummy implementation of WMSSecurityManager to handle incoming requests with a security barrier.
There are three Users with different operations responsible to reach. But this is the rightsManagement, actually, and should be moved to a backend later.

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 Sep 2011) $
Author:
Steffen Thomas, last edited by: $Author: mschneider $

Constructor Summary
DummyWMSSecurityManager()
          Creates a new instance of DummyWMSSecurityManager.
 
Method Summary
 GetCapabilities preprocess(GetCapabilities getCapas, Credentials creds)
           
 GetFeatureInfo preprocess(GetFeatureInfo gfi, Credentials creds)
           
 GetFeatureInfoSchema preprocess(GetFeatureInfoSchema getFeatureInfoSchema, Credentials creds)
           
 GetLegendGraphic preprocess(GetLegendGraphic glg, Credentials creds)
           
 GetMap preprocess(GetMap getMap, Credentials creds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyWMSSecurityManager

public DummyWMSSecurityManager()
Creates a new instance of DummyWMSSecurityManager.

Method Detail

preprocess

public GetMap preprocess(GetMap getMap,
                         Credentials creds)
                  throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetMap request according to rights
Throws:
SecurityException
SecurityException

preprocess

public GetFeatureInfo preprocess(GetFeatureInfo gfi,
                                 Credentials creds)
                          throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetFeatureInfo request according to rights
Throws:
SecurityException
SecurityException

preprocess

public GetCapabilities preprocess(GetCapabilities getCapas,
                                  Credentials creds)
                           throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetCapabilities request according to rights
Throws:
SecurityException
SecurityException

preprocess

public GetLegendGraphic preprocess(GetLegendGraphic glg,
                                   Credentials creds)
                            throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetLegendGraphic request according to rights
Throws:
SecurityException
SecurityException

preprocess

public GetFeatureInfoSchema preprocess(GetFeatureInfoSchema getFeatureInfoSchema,
                                       Credentials creds)
                                throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetFeatureInfoSchema request according to rights
Throws:
SecurityException


Copyright © 2011. All Rights Reserved.