Using javax.ws.rs.core.SecurityContext works.
Best Regards,
J.P.
-Original Message-
From: Andriy Redko
Sent: vrijdag 2 juni 2023 23:11
To: Jean Pierre URKENS ; CXF Dev List
Subject: Re: Handle Bearer authorization
Hi Jean,
Apologies since I am rarely touching this part of the
valid SecurityContext object
> 'sc'.
> Isn't the 'annotations'-way supposed to work this way?
> Regards,
> J.P. Urkens
> -Original Message-
> From: Jean Pierre URKENS
> Sent: vrijdag 2 juni 2023 10:18
> To: 'Andriy Redko'
> S
Hi Jean,
You should be able to get access to the Bearer and claims using
JwtAuthenticationFilter + @Context SecurityContext
The expected type of the security context should be ClaimsSecurityContext, with
collection of claims being available.
If the JwtAuthenticationFilter does not work for you