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 java.lang.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: 25736 $, $Date: 2010-08-09 13:04:48 +0200 (Mo, 09. Aug 2010) $
Author:
Steffen Thomas, last edited by: $Author: mschneider $

Constructor Summary
DummyWMSSecurityManager()
          Creates a new instance of DummyWMSSecurityManager.
 
Method Summary
 org.deegree.protocol.ows.capabilities.GetCapabilities preprocess(org.deegree.protocol.ows.capabilities.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:
java.lang.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:
java.lang.SecurityException
SecurityException

preprocess

public org.deegree.protocol.ows.capabilities.GetCapabilities preprocess(org.deegree.protocol.ows.capabilities.GetCapabilities getCapas,
                                                                        Credentials creds)
                                                                 throws SecurityException
Specified by:
preprocess in interface WMSSecurityManager
Returns:
a modified GetCapabilities request according to rights
Throws:
java.lang.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:
java.lang.SecurityException
SecurityException

preprocess

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


Copyright © 2011. All Rights Reserved.