In my Java web application, the NTLM domain controller name is specified in web.xml like this:
<filter>
<!-- other code -->
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>DCNAME</param-value>
</init-param>
<!-- other code -->
</filter>
In the above XML, we've hard-coded the domain controller name (DCNAME) in the param-value tag.
Now, is it possible to read this 'DCNAME' from a JNDI variable, instead of hard-coding it in web.xml file?
thanks in advance.