Re: Add a filter to intercept Knox requests and be able to add a custom logic

2019-03-29 Thread Matteo Alessandroni
Hi, Phil the "SubjectUtils.getCurrentEffectivePrincipalName()" method did the trick, thanks! Does anybody of you guys know how I could use a CXF REST client from my Dispatch class (that extends "DefaultDispatch") to call an external link? I tried to make a ".jar" that also includes the

Re: Add a filter to intercept Knox requests and be able to add a custom logic

2019-03-29 Thread Kevin Risden
Should be able to use the default http client that is included in Knox. Should be accessible with getHttpClient() from AbstractGatewayDispatch. Kevin Risden On Fri, Mar 29, 2019 at 11:22 AM Matteo Alessandroni wrote: > Hi, > > Phil the "SubjectUtils.getCurrentEffectivePrincipalName()" method