Class WmsRequestInterceptor
- java.lang.Object
-
- de.terrestris.shoguncore.util.interceptor.secure.BaseInterceptor
-
- de.terrestris.shoguncore.util.interceptor.secure.WmsRequestInterceptor
-
- All Implemented Interfaces:
WmsRequestInterceptorInterface
public class WmsRequestInterceptor extends BaseInterceptor implements WmsRequestInterceptorInterface
Interceptor class for WMS requests. Adds basic auth headers based on the GS properties by default and checks for permission on requested layer- Author:
- Nils Bühner, Johannes Weskamm
-
-
Field Summary
Fields Modifier and Type Field Description protected LayerService<Layer,LayerDao<Layer>>layerService
-
Constructor Summary
Constructors Constructor Description WmsRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableHttpServletRequestinterceptDescribeLayer(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetCapabilities(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetFeatureInfo(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetLegendGraphic(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetMap(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetStyles(MutableHttpServletRequest request)-
Methods inherited from class de.terrestris.shoguncore.util.interceptor.secure.BaseInterceptor
forbidRequest, setAppUriFromRequest
-
-
-
-
Field Detail
-
layerService
@Autowired @Qualifier("layerService") protected LayerService<Layer,LayerDao<Layer>> layerService
-
-
Method Detail
-
interceptGetMap
public MutableHttpServletRequest interceptGetMap(MutableHttpServletRequest request)
- Specified by:
interceptGetMapin interfaceWmsRequestInterceptorInterface
-
interceptGetFeatureInfo
public MutableHttpServletRequest interceptGetFeatureInfo(MutableHttpServletRequest request)
- Specified by:
interceptGetFeatureInfoin interfaceWmsRequestInterceptorInterface
-
interceptDescribeLayer
public MutableHttpServletRequest interceptDescribeLayer(MutableHttpServletRequest request)
- Specified by:
interceptDescribeLayerin interfaceWmsRequestInterceptorInterface
-
interceptGetLegendGraphic
public MutableHttpServletRequest interceptGetLegendGraphic(MutableHttpServletRequest request)
- Specified by:
interceptGetLegendGraphicin interfaceWmsRequestInterceptorInterface
-
interceptGetStyles
public MutableHttpServletRequest interceptGetStyles(MutableHttpServletRequest request)
- Specified by:
interceptGetStylesin interfaceWmsRequestInterceptorInterface
-
interceptGetCapabilities
public MutableHttpServletRequest interceptGetCapabilities(MutableHttpServletRequest request)
- Specified by:
interceptGetCapabilitiesin interfaceWmsRequestInterceptorInterface
-
-