The same problem.
I set timeouts:
<module-option name="com.sun.jndi.ldap.connect.timeout" value="5000"/>
<module-option name="com.sun.jndi.ldap.read.timeout" value="5000"/>
12:17:19,789 WARN [o.j.security] (default task-29) PBOX00234: Invalid or misspelled module option: com.sun.jndi.ldap.read.timeout
12:17:19,813 WARN [o.j.security] (default task-29) PBOX00234: Invalid or misspelled module option: com.sun.jndi.ldap.connect.timeout
while options are actually working.
1 of 1 people found this helpful
You can ignore it.
This check was meant for picketbox specific options. Once java options were permitted, this check starts to emit false positives. If there is not such JIRA you can create one against picketbox. But picketbox is now replaced by Elytron in wildfly. So I think there is not big chance it will be fixed.
Or if you really want to get rid of this warning you can set org.jboss.security logging category to ERROR level - but think twice