Remove casting of advisor to container in JaccAuthorizationInterceptorFactory
-----------------------------------------------------------------------------
Key: EJBTHREE-1237
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1237
Project: EJB 3.0
Issue Type: Task
Components: core
Affects Versions: AS 5.0.0.Beta4
Reporter: Anil Saldhana
Assigned To: Anil Saldhana
Fix For: AS 5.0.0.CR1
Code such as
Container container = (Container)advisor;
is wrong.
The correct way is:
EJBContainer container = EJBContainer.getEJBContainer(advisor);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira