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

Post-Method-Authorizer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4
    • Security-Module
    • None

    Description

      Our current security interceptor allows security checks before the method invocation. Sometimes it is desirable to check the result of a method invocation, then throw a SecurityException and cause the transaction to be rolled back.

      I propose to introduce the annotation @Result as a parameter annotation of our @Secures methods. If the annotation is present at one parameter of the method, the check will be done AFTER the invocation of the business method and can check the result of the invocation.

      Attachments

        Activity

          People

            arne Arne Limburg
            arne Arne Limburg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: