Spectrum is taking many attempt to login on Web Console with SPC-OCC-10257 error.
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

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

 

Environment

Release : 21.2.6

Component : Spectrum OneClick

Cause

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

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.