5. Auth Plug-in Installation
Copy the developed plug-in to some appropriate directory, and add the directory in Java class path (CLASSPATH).
Also, set the plug-in name to the property variable “net.usrdir.plugins” in the Brekeke SIP Server Admin Tool’s [Configuration] > [Advanced] page.
Suppose the plugin-in SampleUserDir.class is in the directory /plugins/userdir and the package name of the plug-in class is com.domain.proxy.plugins
Add “/plugins/userdir” to the environment variable CLASSPATH.
For example:
CLASSPATH=/usr/java/jdk/lib:/plugins:/plugins/userdir
Set the plug-in to the property variable net.usrdir.plugins in the [Configuration] > [Advanced] page.
For example:
net.usrdir.plugins = com.domain.proxy.plugins.SampleUserDir