RE: Handle Bearer authorization

2023-06-05 Thread Jean Pierre URKENS
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

Re: Handle Bearer authorization

2023-06-02 Thread Andriy Redko
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

Re: Handle Bearer authorization

2023-06-01 Thread Andriy Redko
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