REST API PUT isn't working after upgrading Spectrum past 21.2.8
search cancel

REST API PUT isn't working after upgrading Spectrum past 21.2.8

book

Article ID: 254357

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

After upgrading to DX NetOps Spectrum  21.2.9 or later,  REST API PUT isn't working. 

Environment

DX NetOps 21.2.9 and later

Cause

REST authentication was changed from BASIC to FORM

Resolution

Needed to change the FORM based authentication back to BASIC in the context.xml by changing the class name value:

  • Open the file $SPECROOT\tomcat\conf\context.xml file.
  • Change the className value to className="org.apache.catalina.authenticator.BasicAuthenticator".

Then change the authentication in the web.xml:

  • Open the file $SPECROOT\tomcat\webapps\spectrum\WEB-INF\web.xml file.
  • Replace <auth-method>FORM</auth-method> with <auth-method>BASIC</auth-method>.
  • Restart Tomcat.

Additional Information