3.1 Enabling OAuth support for OFSLL REST APIs

The OAuth support for OFSLL REST API can be enabled with the following steps:
  1. Add context Parameters in web.xml
  2. Remove URL Security constraint tags in web.xml
    Add the below configuration in web.xml of OfsllRestWS.ear:

    <context-param>

    <description>This parameter will decide the jersey filter to be loaded</description>

    <param-name>OAUTH_AND_BASIC_ENABLED</param-name>

    <param-value>Y</param-value>

    </context-param>

  3. Remove Security configuration from weblogic.xml as well.

    Note:

    If this context parameter is not set, only the existing basic authentication flow is supported.