"Error While Trying to Perform Authentication: the Username Token Could Not Be Validated" When Attempting to Authenticate Against P6 Web Services or P6 Adapter.
(Doc ID 1601907.1)
Last updated on OCTOBER 10, 2023
Applies to:
Primavera Web Services - Version 8.1.1.0 and laterPrimavera P6 Enterprise Project Portfolio Management Cloud Service - Version 20.1 and later
Information in this document applies to any platform.
Symptoms
When attempting to authenticate against P6 Web Services or P6 Adapter for Primavera Gateway, the following errors are thrown in the Application Server log (ie Server.out):
UsernameToken E The username token could not be validated.
SecurityInbou E Error while trying to perform authentication: The username token could not be validated.
com.primavera.ws.security.AuthenticationManagerException: The username token could not be validated.
org.apache.cxf.binding.soap.SoapFault: The username token could not be validated.
Caused by: com.primavera.ws.security.AuthenticationManagerException: The username token could not be validated.
<Error> <com.primavera.ws.security.impl.UsernameTokenAuthenticationManager> <2002-1618-03> <P6Adapter> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <
<Error> <com.primavera.ws.security.impl.UsernameTokenAuthenticationManager> <2002-1618-03> <P6Adapter> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <
The following SOAP response is returned by P6 Web Services:
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>
soap:Client
</faultcode>
<faultstring>
The username token could not be validated.
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |