1 /*
2 * JBoss, the OpenSource WebOS
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7
8 package org.jboss.security.plugins;
9
10 import javax.management.ObjectName;
11
12 import org.jboss.mx.util.ObjectNameFactory;
13
14 /**
15 * The JMX mbean interface for the SecurityPolicyService prototype.
16 *
17 * @author Scott.Stark@jboss.org
18 *@version $Revision: 1.6.4.1 $
19 */
20 public interface SecurityPolicyServiceMBean
21 extends org.jboss.system.ServiceMBean
22 {
23 ObjectName OBJECT_NAME = ObjectNameFactory.create(":service=SecurityPolicyService");
24
25 /**
26 * Get the jndi name under which the SRPServerInterface proxy should be bound
27 */
28 String getJndiName();
29
30 /**
31 * Set the jndi name under which the SRPServerInterface proxy should be bound
32 */
33 void setJndiName(String jndiName);
34
35 String getPolicyFile();
36
37 void setPolicyFile(String policyFile);
38 }