1 22 package org.jboss.mq.security; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mq.server.jmx.InterceptorMBean; 27 import org.jboss.mx.util.ObjectNameFactory; 28 import org.w3c.dom.Element ; 29 30 36 37 public interface SecurityManagerMBean extends InterceptorMBean 38 { 39 ObjectName OBJECT_NAME = 40 ObjectNameFactory.create("jboss.mq:service=SecurityManager"); 41 42 Element getDefaultSecurityConfig(); 43 void setDefaultSecurityConfig(Element conf) throws Exception ; 44 45 String getSecurityDomain(); 46 void setSecurityDomain(String securityDomain); 47 48 51 public void addDestination(String jndi, String conf) throws Exception ; 52 53 public void addDestination(String jndi, Element conf) throws Exception ; 54 55 public void removeDestination(String jndi) throws Exception ; 56 } | Popular Tags |