1 22 package org.jboss.security.srp; 23 24 import org.jboss.invocation.Invocation; 25 import org.jboss.system.ServiceMBean; 26 27 36 public interface SRPServiceMBean 37 extends ServiceMBean 38 { 39 42 String getVerifierSourceJndiName(); 43 44 47 void setVerifierSourceJndiName(String jndiName); 48 49 52 String getJndiName(); 53 54 57 void setJndiName(String jndiName); 58 59 62 String getAuthenticationCacheJndiName(); 63 64 67 void setAuthenticationCacheJndiName(String jndiName); 68 69 72 int getAuthenticationCacheTimeout(); 73 74 77 void setAuthenticationCacheTimeout(int timeoutInSecs); 78 79 82 int getAuthenticationCacheResolution(); 83 84 87 void setAuthenticationCacheResolution(int resInSecs); 88 89 92 public boolean getRequireAuxChallenge(); 93 96 public void setRequireAuxChallenge(boolean flag); 97 98 101 public boolean getOverwriteSessions(); 102 105 public void setOverwriteSessions(boolean flag); 106 107 111 String getClientSocketFactory(); 112 113 117 void setClientSocketFactory(String factoryClassName) 118 throws ClassNotFoundException , InstantiationException , IllegalAccessException ; 119 120 124 String getServerSocketFactory(); 125 126 130 void setServerSocketFactory(String factoryClassName) 131 throws ClassNotFoundException , InstantiationException , IllegalAccessException ; 132 133 136 int getServerPort(); 137 138 141 void setServerPort(int port); 142 143 145 public Object invoke(Invocation invocation) throws Exception ; 146 } 147 | Popular Tags |