title: wildfly (9) + kerberos + ldap (Active Directory)
body: <p>I'm trying to get to point, where wildfly 9 would be able to authenticate users with kerberos and authorize them with ldap.</p>
  
  <p>I'm having rich EJB client using JAAS (having <code>com.sun.security.auth.module.Krb5LoginModule</code>).</p>
  
  <p>I'd need some sample including the step-by-step configuration.</p>
  
  <p>What I've found is:</p>
  
  <ul>
  <li>wildfly with LDAP (<a href="https://developer.jboss.org/wiki/LDAPSecurityRealmExamples" rel="nofollow">https://developer.jboss.org/wiki/LDAPSecurityRealmExamples</a>)</li>
  <li>wildfly with SPNEGO (<a href="https://github.com/kwart/spnego-demo" rel="nofollow">https://github.com/kwart/spnego-demo</a>)</li>
  <li>wildfly with kerberos for server management (<a href="http://darranl.blogspot.co.uk/2014/10/wildfly-9-kerberos-authentication-for.html" rel="nofollow">http://darranl.blogspot.co.uk/2014/10/wildfly-9-kerberos-authentication-for.html</a>, 
  <a href="http://darranl.blogspot.co.uk/2014/11/wildfly-9-kerberos-authentication-with.html" rel="nofollow">http://darranl.blogspot.co.uk/2014/11/wildfly-9-kerberos-authentication-with.html</a>)</li>
  </ul>
  
  <p>however I have not web but rich application + I'm not using LDAP for authentication, but kerberos. And I need not only management operations to be authenticated using kerberos.</p>
  
  <p>Any complete sample/references out there?</p>