tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan St. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENEJB-679) Validation: Warn on security annotations applied to callbacks
Date Sun, 02 Feb 2014 21:50:08 GMT

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

Ivan St. Ivanov updated OPENEJB-679:
------------------------------------

    Attachment: security.annotations.patch

> 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
>    Affects Versions: 3.1.x
>            Reporter: David Blevins
>            Assignee: Ivan St. Ivanov
>             Fix For: 3.1.x
>
>         Attachments: security.annotations.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message