...
Note |
---|
The latest windows authentication bundle is available downloadable here |
Debugging
You may want to turn on the logging of the security processing during the setting up of the authentication, since it'd disabled by default.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<bean id="ntlmProcessingFilter" class="org.acegisecurity.ui.ntlm.NtlmProcessingFilterIPFilteredNtlmProcessingFilter"> <property name="defaultDomain"><value>DOMAINNAME</value></property> <property name="domainController"><value>172.16.0.30</value></property> <property name="authenticationEntryPoint" ref="ntlmEntryPoint"/> <property name="authenticationManager" ref="ntlmAuthenticationManager"/> <property name="excludedIpAddresses"> <list> <value>192.168.2.0/24</value> <value>138.19.19.50</value> </list> </property> <property name="includedIpAddresses"> <list> <value>172.16.0.0/16</value> </list> </property> </bean> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<bean id="ntlmProcessingFilterInternal" class="org.acegisecurity.ui.ntlm.NtlmProcessingFilterIPFilteredNtlmProcessingFilter"> <property name="defaultDomain"><value>INTERNAL</value></property> <property name="domainController"><value>172.16.0.30</value></property> <property name="authenticationEntryPoint" ref="ntlmEntryPoint"/> <property name="authenticationManager" ref="ntlmAuthenticationManager"/> <property name="includedIpAddresses"> <list> <value>172.16.0.0/16</value> </list> </property> <property name="defaultRole"><value>ROLE_INTERNAL</value></property> </bean> <bean id="ntlmProcessingFilterExternal" class="org.acegisecurity.ui.ntlm.NtlmProcessingFilterIPFilteredNtlmProcessingFilter"> <property name="defaultDomain"><value>EXTERNAL</value></property> <property name="domainController"><value>201.20.109.76</value></property> <property name="authenticationEntryPoint" ref="ntlmEntryPoint"/> <property name="authenticationManager" ref="ntlmAuthenticationManager"/> <property name="includedIpAddresses"> <list> <value>201.20.0.0/16</value> </list> </property> <property name="defaultRole"><value>ROLE_EXTERNAL</value></property> </bean> |
...