Karel Piwko commented on Feature Request AGSEC-176

I believe that @Secure annotation, given it is processed by an interceptor and based on CDI, should follow CDI rules:

http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html

That means that:

  • @Secure should be marked as @Inherited
  • For class Y, subclass of X inherits @Secure bindings
  • For class Y with non-static method Z, subclass X inherits @Secure binding for non-static method Z iff X overrides method Z and there is no intermediate class X', being subclass of Y and superclass of X
  • Class Y must not have any final fields or methods
  • Method Z in class Y must not be final nor static
  • Bindings on method Z should override bindings on class Y

Any annotation used interface type or method should be completely ignored.

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