search cancel

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


Article ID: 254357


Updated On:


CA Spectrum DX NetOps


We upgraded to 22.2.1 and discovered that the REST API PUT isn't working.  We use AlarmNotifier to send alarms to Netcool which forwards them to our internal ticketing system.  After a ticket is created it's sent back and using the REST API we "PUT" the ticket number in the Trouble Ticket ID column in the alarm view.  It worked fine in 10.4.1, but stopped working after we upgrade. 


Release : 22.2


REST authentication was changed from BASIC to FORM


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