TEWS: Create User Task is giving Not Authorized Error (Legacy_Onyx KB Id: 225753)

Document ID : KB000054982
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

We are getting ClientNot Authorized error message while trying to create users using TEWS. I have attached the CreateUser.xml and the output.xml with the error information. Also, I have attached the server.log.

We are passing the admin id properly and the Create User task is assigned to his role.

Error Message: StatusInternal Server Errorsoapenv:ClientNot authorized for service.com.netegrity.ims.tews6.Tews6Exception400500


Solution:

Customer called and informed that the id being used had the system manager role.
Advised the customer to make the following changes and restart the application server.

IdentityMinder.ear/user_console_war/WEB-INF/web.xml
&ltservlet>
&ltservlet-name>Tews6Servlet</servlet-name>
&ltdisplay-name>IM 6.0 Task Execution WebService Servlet</display-name>
&ltservlet-class>com.netegrity.ims.tews6.ServiceServlet</servlet-class>
&ltinit-param>
&ltparam-name>use_admin_id</param-name>
&ltparam-value>true</param-value>
</init-param>
&ltinit-param>
&ltparam-name>require_sm_headers</param-name>
&ltparam-value>false</param-value>
</init-param>
</servlet>
Customer would restart the application server and update the case.