There is a system test available here that might help: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=tree;f=systests/kerberos;h=0e112288e0238456ed6f3a6a8154442c0a56070e;hb=HEAD
Specifically: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=tree;f=systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos;h=1b250c35ff03adaa506d1544a2aaaf06620325bc;hb=HEAD Colm. On Thu, Feb 11, 2016 at 4:45 PM, Ramzi Oueslati <[email protected]> wrote: > Having a hard time trying to protect an existing CXF JAX-RS service with > Kerberos authentication. > > I went through what seems to be the reference documentation : > http://cxf.apache.org/docs/jaxrs-kerberos.html but it did not help much. > > I'm actually trying to configure Tomcat+CXF to reproduce this kind of > Apache configuration (which works) : > > <Directory /var/www/> > AuthType Kerberos > KrbServiceName HTTP/fqdn@realm > Krb5Keytab /path/to/file.keytab > Require valid-user</Directory> > > *jaas.conf* and *krb5.conf* were configured. The > *KerberosAuthenticationFilter* was declared and referenced in CXF > configuration as well. But I could not even reach the point where I get a > 401 Forbidden status code. > > I am stuck. Any help would be very much appreciated. > Ramzi > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
