digging a little deeper I found the following error.
14:55:08,919 TRACE [myapppolicy] Login failure javax.security.auth.login.LoginException: unable to find LoginModule class: com.test.LdapExtLoginModule
I have tried moving the jar file around to a few different places as well as placing it directly on the classpath in the run.bat but with no better success.
do you know the "Custom LoginModule Example" from the JBoss guide?
According to this, you could try to create a SAR file and place it in the "deploy" directory.
Hope this helps