Hi,
We are using NTLM authentication using JCIFS in our web application. In the web.xml file, we are specifying the domain controller server name, like this:
<!-- NTLM code -->
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>SERVERNAME</param-value>
</init-param>
my question here is:
- Is there any way to get the SERVERNAME from JNDI, instead of hard coding it in web.xml?
- How do I specify a backup domain controller name in case the first one fails?
Thanks in advance.