1 18 package org.apache.activemq.security; 19 20 26 public interface SecurityAdminMBean { 27 28 public static final String OPERATION_READ = "read"; 29 public static final String OPERATION_WRITE = "write"; 30 public static final String OPERATION_ADMIN = "admin"; 31 32 public void addRole(String role); 33 public void removeRole(String role); 34 35 public void addUserRole(String user, String role); 36 public void removeUserRole(String user, String role); 37 38 public void addTopicRole(String topic, String operation, String role); 39 public void removeTopicRole(String topic, String operation, String role); 40 41 public void addQueueRole(String queue, String operation, String role); 42 public void removeQueueRole(String queue, String operation, String role); 43 44 } 45 | Popular Tags |