Disabling Basic Authentication for Web Services
Spectrum Technology Platform supports two types of authentication for web service requests: Basic authentication and token authentication. By default, both methods are enabled.
Note: Be aware that
disabling Basic authentication will cause existing clients to fail. For Spectrum Spatial, WMS, WMTS, and WFS clients will either be expecting Basic authentication or no
authentication. Leaving only token-based authentication will likely cause those clients to
fail.
- Stop the Spectrum Technology Platform server.
-
Open this file in a text editor:
SpectrumDirectory/server/conf/spectrum-container.properties
-
Set this property to false:
spectrum.security.authentication.webservice.basicauth.enabled=false
- Start the server.