Question

PegaAPI REST basic authentication not working in openstack

Recently project move to Openstack after that the basic authentication is not working.

While hitting the cases api of Pega( for any method), we are getting unauthorized error with 401 status code.

When the authentication is suppressed in the service package as shown below, its responding appropriately.

This behavior is observed only in the new openStack uat environment.

Do any one can help me on that i found some thing slimier in pdn but that's for the weblogic where as our in jboss .

for weblogic many people as to update config.xml with below code

<security-configuration>

<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials><br />

</security-configuration>

Can any one know what to do with Jboss? though I think issue is with OpenStack because the lower environment is working with Jboss.

we are only getting this issue in new OpenSack UAT.

Comments

Keep up to date on this post and subscribe to comments

January 25, 2019 - 6:04am

Hi there,

A little more details would help us guide you through. What is your pega version? JBoss version? Complete error logs when this happens (including JBoss server.log). OpenStack itself may or may not be at fault here. I assume your other Pega functionality works even on this new platform? What are the differences between your lower JBoss env versus the current new UAT env (besides OpenStack, e.g., JBoss version, Pega version, etc).

Pega
October 4, 2019 - 12:37am

Hi,

In case of JBOSS EAP 6.x or 7.x versions, the proactive-autthentication can be added along with servlet-container tag in the standalone.xml configuration file. This can be added as:

<servlet-container name="default" proactive-authentication="false">

This tag should be available under <websockets><jsp-config> and after the end tag </server>.

Thank you,