I have tried to set the standard JNDI LDAP context parameters for read and timeout (ex:com.sun.jndi.ldap.connect.timeout) by setting them as "module-option" name-value pairs in the standalone-full.xml, but nothing seems to take effect. The documentation states that the defaults for these values, is to wait forever or until a network error is thrown, which is not real usable when your primary AD goes down.
I see documentation for setting these using "outbound-connections", but that configuration does not seem "probable" when using the AdvancedLdap login module. Can anyone suggest how to set one or both of these timeout values?
Setting com.sun.jndi.ldap.read.timeout and com.sun.jndi.ldap.connect.timeout as module-option is correct approach. Why do you use "ex:" prefix ?