1

I'm trying to get to point, where wildfly 9 would be able to authenticate users with kerberos and authorize them with ldap.

I'm having rich EJB client using JAAS (having com.sun.security.auth.module.Krb5LoginModule).

I'd need some sample including the step-by-step configuration.

What I've found is:

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.

Any complete sample/references out there?

Peter Butkovic
  • 11,143
  • 10
  • 57
  • 81
  • Haven't looked into the links deeply but you could easily port my code from [Tomcat](http://tomcatspnegoad.sourceforge.net/) Wildfly. It will give you want to need. – Michael-O Jun 14 '16 at 17:31

1 Answers1

1

i manage to make it work with this library :

https://github.com/dstraub/spnego-wildfly

you incorpore the jar in your application (not available in MVN repository), then you have to specify the mechanism authentication "SPNEGO" for example in web.xml, configure your active directory, create your keytab, configure your standalone.xml or domain.xml and it is OK , you can also use an apache in front and a load balancer, an example with the sample-app

cyril
  • 872
  • 6
  • 29