Hello experts,
We have an application that connectes to the Content Server 10.0 using the "les-services". At some point the application needs to impersonate the user "Admin" (the application connects with the user Admin) to normal user. The problem is the content server throws the error "javax.xml.ws.soap.SOAPFaultException: Insufficient permissions to perform this action." when the user to impersonate to has no "System administration rights". If the user has "System administration rights" the impersonateUser method works. See below the error trace:
javax.xml.ws.soap.SOAPFaultException: Insufficient permissions to perform this action.
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at com.sun.proxy.$Proxy36.impersonateUser(Unknown Source)
Thanks!
Vasile.