search cancel

Spectrum is taking many attempt to login on Web Console with SPC-OCC-10257 error.

book

Article ID: 227697

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

 After upgrading Spectrum from 10.4.1 to 21.2.1 users are  unable to login into the console on first attempt and they are seeing the following error:

SPC-OCC-10257 the user XXXX has no privileges when trying to log into Spectrum OneClick

Cause

The problem is the customer has a user "campus\aa-smil-cmp" which is being passed to the webapp without the "\" character causing the SPC-OCC-10257 login error.

Environment

Release : 21.2.6

Component : Spectrum OneClick

Resolution

Edit the following file: 

$SPECROOT/tomcat/webapps/spectrum/webapp/index.jsp


Search for the following line:


name = "${OC_ARGS} -isWebSwing yes -jsessionid <%= session.getId() %> -user <%= request.getUserPrincipal() != null ? request.getUserPrincipal().getName(): ""%>";

 
Replace it with the following line: 


name = "${OC_ARGS} -isWebSwing yes -jsessionid <%= session.getId() %> ";

Save the file and launch the webapp again.