cancel
Showing results for 
Search instead for 
Did you mean: 

The security token could not be authenticated or authorized

idahvedi
Champ in-the-making
Champ in-the-making
Hi!

I'm trying to call the ContentService with path with WSSE header from soapUI, but get the following error message:

         <faultstring>WSDoAllReceiver: security processing failed; nested exception is:
   org.apache.ws.security.WSSecurityException: The security token could not be authenticated or authorized</faultstring>

The username and password I use in the WSSE header is admin/admin. Do the web service need another user or password? Or could I set a property in Alfresco to skip the security header?

Please refer to http://wiki.alfresco.com/wiki/Web_Service_Samples_for_WSS_/_WSSE for code example using WSSE headers.

Hope someone can help me with this topic! Thanks!

-Ida-
11 REPLIES 11

sameer1sharma
Champ in-the-making
Champ in-the-making
Hi,
    I have changed loadbalancer method and added force sticky session.

Add below lines in your workers.properties file.

worker.loadbalancer.method=B
worker.loadbalancer.sticky_session_force=1

This will resolved your issue.

pacosm
Champ in-the-making
Champ in-the-making
Hi,

Thanks for you answer!! I'll try, and I will let you know if it works.