Arne Limburg created DELTASPIKE-298:
---------------------------------------

             Summary: Post-Method-Authorizer
                 Key: DELTASPIKE-298
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-298
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Security-Module
    Affects Versions: 0.3-incubating
            Reporter: Arne Limburg
            Assignee: Arne Limburg


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to