Class WmtsRequestInterceptor
- java.lang.Object
-
- de.terrestris.shoguncore.util.interceptor.secure.BaseInterceptor
-
- de.terrestris.shoguncore.util.interceptor.secure.WmtsRequestInterceptor
-
- All Implemented Interfaces:
WmtsRequestInterceptorInterface
public class WmtsRequestInterceptor extends BaseInterceptor implements WmtsRequestInterceptorInterface
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 WmtsRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableHttpServletRequestinterceptGetCapabilities(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetFeatureInfo(MutableHttpServletRequest request)MutableHttpServletRequestinterceptGetTile(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
-
interceptGetTile
public MutableHttpServletRequest interceptGetTile(MutableHttpServletRequest request)
- Specified by:
interceptGetTilein interfaceWmtsRequestInterceptorInterface
-
interceptGetFeatureInfo
public MutableHttpServletRequest interceptGetFeatureInfo(MutableHttpServletRequest request)
- Specified by:
interceptGetFeatureInfoin interfaceWmtsRequestInterceptorInterface
-
interceptGetCapabilities
public MutableHttpServletRequest interceptGetCapabilities(MutableHttpServletRequest request)
- Specified by:
interceptGetCapabilitiesin interfaceWmtsRequestInterceptorInterface
-
-