deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arne Limburg (JIRA)" <>
Subject [jira] [Created] (DELTASPIKE-298) Post-Method-Authorizer
Date Thu, 13 Dec 2012 07:37:21 GMT
Arne Limburg created DELTASPIKE-298:

             Summary: Post-Method-Authorizer
                 Key: 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:

View raw message