- 
        1. Re: Set timeouts on AdvancedLdap login modulemchoma Jan 3, 2018 5:44 AM (in response to geturner)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 ? 
- 
        2. Re: Set timeouts on AdvancedLdap login modulegeturner Jun 15, 2018 2:23 PM (in response to geturner)ex: meant "example". And my solution worked fine: public class CustomAdvancedLdapLoginModule extends AdvancedLdapLoginModule { private static final String[] CUSTOM_VALID_OPTIONS = { "com.sun.jndi.ldap.connect.timeout", "com.sun.jndi.ldap.read.timeout" 
 };@Override 
 public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options) {addValidOptions(CUSTOM_VALID_OPTIONS); super.initialize(subject, handler, sharedState, options); } } 
- 
        3. Re: Set timeouts on AdvancedLdap login modulesshriram09 Jun 20, 2018 6:00 AM (in response to geturner)You can also set them as JAVA_OPTS ( -Dcom.sun.jndi.ldap.connect.timeout=5000,-Dcom.sun.jndi.ldap.read.timeout=5000 (value in milliseconds)) in standalone.conf or when starting EAP as: ./standalone.sh -c standalone-full.xml -Dcom.sun.jndi.ldap.connect.timeout=5000 -Dcom.sun.jndi.ldap.read.timeout=5000 
 
     
    