Re: JAXRS service with CXF KerberosAuthenticationFilter

2014-01-14 Thread Paul O'Brien
The client is a web browser and we can live with it, just wanted to ensure it wasn't an unexpected error. On Monday, 13 January 2014, Sergey Beryozkin wrote: Hi, On 13/01/14 10:46, Paul O'Brien wrote: Thanks Sergey, Your information was helpful and I narrowed the problem down to the

Re: JAXRS service with CXF KerberosAuthenticationFilter

2014-01-13 Thread Paul O'Brien
Thanks Sergey, Your information was helpful and I narrowed the problem down to the -Djava.security.auth.login.config environment variable not being configured in my environment, setting this has got everything working. Note that I do get the same exception even though it's working, it appears to

Re: JAXRS service with CXF KerberosAuthenticationFilter

2014-01-13 Thread Sergey Beryozkin
Hi, On 13/01/14 10:46, Paul O'Brien wrote: Thanks Sergey, Your information was helpful and I narrowed the problem down to the -Djava.security.auth.login.config environment variable not being configured in my environment, setting this has got everything working. Note that I do get the same

Re: JAXRS service with CXF KerberosAuthenticationFilter

2014-01-12 Thread Sergey Beryozkin
Hi It does seem that a context configuration is not found, It is unfortunate that only the LoginException handler loses the exception info, the other handlers at least log the exception message, I will fix it, in meantime I can only suggest to either - try to debug with the CXF source, that

Re: JAXRS service with CXF KerberosAuthenticationFilter

2014-01-12 Thread Sergey Beryozkin
FYI, this is how it is picked up in the test: String jaasConfig = JAXRSKerberosBookTest.class .getResource(/org/apache/cxf/systest/jaxrs/security/kerberos.cfg).toURI().getPath(); System.setProperty(java.security.auth.login.config, jaasConfig); You may want to try to move the config

JAXRS service with CXF KerberosAuthenticationFilter

2014-01-08 Thread Paul O'Brien
Hi All, Trying to setup CXF JAXRS with Kerberos authentication (Active Directory KDC), the CXF endpoint works fine however I'm unable to successfully authenticate once the Kerberos Filter is activated. Using the sample code on the Apache CXF project homepage as a guide: