Appendix: Configuring Oracle WebLogic Servers for Basic Authentication

When using the Feed Publishing Framework, you must configure Oracle WebLogic servers for basic authentication. This appendix discusses how to modify the config.xml file.

Click to jump to parent topicModifying the config.xml File

Perform the following tasks:

  1. Stop the web server.

  2. Access the PS_HOME\webserv\WEBSERVER_DOMAINNAME\config folder.

  3. Open the config.xml file.

  4. Add the tag <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials> in between the <security-configuration> tags. For example:

    <security-configuration xmlns:xacml="http://www.bea.com/ns/weblogic/90/security⇒ /xacml"> <name>peoplesoft1</name> <realm> <sec:authentication-provider xsi:type="wls:default-authenticatorType"/> <sec:authentication-provider xsi:type="wls:default-identity-asserterType"> <sec:active-type>AuthenticatedUser</sec:active-type> </sec:authentication-provider> <sec:role-mapper xsi:type="xacml:xacml-role-mapperType"/> <sec:authorizer xsi:type="xacml:xacml-authorizerType"/> <sec:adjudicator xsi:type="wls:default-adjudicatorType"/> <sec:credential-mapper xsi:type="wls:default-credential-mapperType"/> <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"/> <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder> <sec:name>myrealm</sec:name> </realm> <default-realm>myrealm</default-realm> <credential-encrypted>{3DES}XLLC9Wru5qKeMAlvEULruO9LodVs7o3du4WVMtMs/ffmyP16a⇒ D4NKEv0va5IxytcWvGRV50mB5dYbzhos9XWNN0Lz4mQoXiy</credential-encrypted> <node-manager-username>system</node-manager-username> <node-manager-password-encrypted>{3DES}c/WblCLbZubUdNamvjN1sw==</node-manager-⇒ password-encrypted>

    Note. The modification is the next line.

    <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-⇒ credentials> </security-configuration>

  5. Save the file and start the web server.

Note. WebSphere does not require any special configuration steps.