title: IBM WebSphere AS LDAP login module?
body: <p>I would like to authenticate users by LDAP credentials in WebSphere AS inside my app. I see that <code>com.ibm.ws.security.server.lm.ltpaLoginModule</code> is available for authenticating entire user repository including LDAP. So I think that it would be it. But I don't know how to use this login module in code. I don't see any documentation about which options I need to provide in <code>jaas.conf</code> and how actually use this in Java code. I know how to use some custom login modules, but I don't know what exact things I need to do in code for that specific module (any special arguments?, callbackhandlers? etc.). WebSphere AS version is 8.5.5.</p>
  
  <p>How to authenticate users in Java code using some LDAP login module in WebSphere AS?</p>