Authentication

Before using the Global Type Ahead Java Script Component, you must configure authentication for web service requests to the Spectrum™ Technology Platform server. For more information on the Spectrum™ Technology Platform authentication processing, refer to your Spectrum™ Technology Platform Web Services Guide.

To configure the Global Type Ahead Java Script Component authentication properties, follow these steps:

  1. Edit the spectrum-container.properties file in the Spectrum/app/conf folder.
    1. For REST, in the spectrum-container.properties file, set the value for the spectrum.security.authentication.webservice.enabled.REST property as needed. For example, set spectrum.security.authentication.webservice.enabled.REST=true to enable authentication for all REST services.
      Setting the value to FALSE removes any authentication requirements from Spectrum™ Technology Platform (not recommended). It is recommended that the values of both SOAP and REST be kept in sync.
    2. For SOAP, in the spectrum-container.properties file, set the value for the spectrum.security.authentication.webservice.enabled.SOAP property as needed. For example, set spectrum.security.authentication.webservice.enabled.SOAP=true to enable authentication for all SOAP services.
      Setting the value to FALSE removes any authentication requirements from Spectrum™ Technology Platform (not recommended). It is recommended that the values of both SOAP and REST be kept in sync.
  2. Enable CORS authentication. In the spectrum-advanced.properties file, add “, Authorization” to the end of the spectrum.jetty.cors.allowedHeaders option. For example:
    spectrum.jetty.cors.allowedHeaders=X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept, Authorization