Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-636

@Secures should trigger the ds-exception-handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7
    • 1.0.0
    • Security-Module
    • None

    Description

      When using @Secures, if a validation fails the AccessDeniedException is thrown without letting the application to handle it properly. This ends up printing the stack trace on the logs.

      Ideally, users should be able to handle this exception before propagating it.

      Attachments

        1. AccessDeniedExceptionHandling.patch
          7 kB
          Pedro Igor
        2. DELTASPIKE-636_4.patch
          12 kB
          Gerhard Petracek
        3. DELTASPIKE-636.patch
          2 kB
          Gerhard Petracek

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              pedroigor Pedro Igor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: