Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11780

Log UnauthorizedException stacktrace

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0, 4.1.2
    • Component/s: Security
    • Labels:
    • Rank:
      1|i0031z:

      Description

      We throw UnauthorizedException from various places. At some places, the UnauthorizedException is not logged with stack trace. When an action say application delete fails its really hard to find out where the privilege is lacking. We should make sure we log stacktrace for UnauthorizedException everywhere or at least log it at one place say, HttpExceptionHandler.

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              rsinha Rohit Sinha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: