tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-679) Validation: Warn on security annotations applied to callbacks
Date Tue, 11 Sep 2007 23:47:32 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Blevins updated OPENEJB-679:
----------------------------------

    Description: 
Security annotations applied to the following callbacks are ignored:

- PostConstruct
- PreDestroy
- PostActivate
- PrePassivate
- AroundInvoke

These methods are invoked by the container during the bean's lifecycle and cannot be restricted.
 Issue warnings that the will be ignored if the user has attempted to restrict them.

A sort of strange not is that if the user exposes these callback methods from their business
interface then they also double as business methods, in which case they are restrictable.


> Validation: Warn on security annotations applied to callbacks
> -------------------------------------------------------------
>
>                 Key: OPENEJB-679
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-679
>             Project: OpenEJB
>          Issue Type: Sub-task
>            Reporter: David Blevins
>
> Security annotations applied to the following callbacks are ignored:
> - PostConstruct
> - PreDestroy
> - PostActivate
> - PrePassivate
> - AroundInvoke
> These methods are invoked by the container during the bean's lifecycle and cannot be
restricted.  Issue warnings that the will be ignored if the user has attempted to restrict
them.
> A sort of strange not is that if the user exposes these callback methods from their business
interface then they also double as business methods, in which case they are restrictable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message