Troubleshoot applications



Under normal circumstances the Protected Web Resource field of an application defines the resource being protected.
However, using this field, applications can be configured to behave like sample header or sample policy applications and provide general troubleshooting and diagnostic information.

Topics:

Configure

To configure an application for troubleshooting/debugging:

  1. Navigate to the Access Gateway Admin UI console
  2. From the Topology tab or the Applications tab open the application.
  3. Select the Settings pane.
  4. Expand the Essentials sub tab.
  5. Change the Protected Web Resource field to one of the following:
    ValueBehavior
    https://header.service.spgwWhen running a test, display information related to the header, cookie, session, and other information.
    https://policy.service.spgwWhen running a test, display information related to application policy.
  6. Expand the Advanced sub tab.
  7. Set the Debug toggle to Enable.
    The debug toggle, which can be found in the Advanced application settings.
  8. Click Done when complete.

Test

To test the application:

  1. Select the Applications tab.
  2. On the row containing the application click Go to > SP Initiated.
  3. If required, sign in.
    Results, depending on which application type was selected header or policy, will display.
  4. For policy based testing, update the URL to add an appropriate path and resend the request.
    In this example, the /public path was added.
  5. The result of applying the current user and policy will be displayed.
Important Note

Important

Debug mode, when enabled on production applications, can have serious performance impact. When complete, always reset the Protected Web Resource field and disable the Debug mode toggle.