Re: How to determine served content-type?

2018-08-10 Thread Alexey Markevich
Hi, Try void method(@HeaderParam(HttpHeaders.CONTENT_TYPE) String contentType, ...) On Fri, 10 Aug 2018 11:47:46 +0300, Vjacheslav V. Borisov wrote: Hi! When method serves different content-types, like @Produces({"application/xml", "application/json", "application/xhtml+xml" }) How to

How to determine served content-type?

2018-08-10 Thread Vjacheslav V. Borisov
Hi! When method serves different content-types, like @Produces({"application/xml", "application/json", "application/xhtml+xml" }) How to determine served content-type? Should I manually parse "Accept" header Message message = PhaseInterceptorChain.getCurrentMessage();

Re: Implementing Openid Connect with CXF

2018-08-10 Thread pat7
Hi again, another couple days later I solved my problem. It was a spring boot problem. In combination with tomcat my project required 3 more dependencies to be able to read jsp files. These are ... javax.servlet jstl

Getting started with JOSE

2018-08-10 Thread Rabea Gransberger
Hello, I've just started writing a CXF REST Client and had a look at JAX-RS JOSE for using JWT with JWS. Unfortunately I'm not sure how to use it after reading the documentation at: http://cxf.apache.org/docs/jax-rs-jose.html I need a login with user/password and authenticate against my