[jboss-jira] [JBoss JIRA] Commented: (JBAS-7457) ReadOnlyAccessFilter relies on naming service impl details

Scott M Stark (JIRA) jira-events at lists.jboss.org
Tue Nov 17 01:39:29 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494937#action_12494937 ] 

Scott M Stark commented on JBAS-7457:
-------------------------------------

Actually, we are still deploying the old mbean with the MethodMap attribute as described in the conf/xmdesc/NamingService-xmbean.xml:
   &defaultAttributes;

   <attribute access="read-only" getMethod="getMethodMap">
      <name>MethodMap</name>
      <type>java.util.Map</type>
   </attribute>


but its not visible for some reason:
22:35:23,406 ERROR [ReadOnlyAccessFilter] Failed to init ReadOnlyAccessFilter: javax.management.AttributeNotFoundException: not found: MethodMap
	at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335)
	at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565)
	at org.jboss.invocation.http.servlet.ReadOnlyAccessFilter.init(ReadOnlyAccessFilter.java:72)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:462)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4464)
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:307)



> ReadOnlyAccessFilter relies on naming service impl details
> ----------------------------------------------------------
>
>                 Key: JBAS-7457
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7457
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Naming
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>
> The ReadOnlyAccessFilter is looking for a MethodMap from its invokerName mbean. This is related to old detached invoker proxy code that should just be replaced with injection of a proxy. Longer term this filter should be obsolete as acl security is added to the naming service itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list