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

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. 

Environment

Release : 22.2

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

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/21-2/administrating/oneclick-administration/login-to-oneclick-server.html