RE: JWT pre-authentication - get JWT token on service side

2016-06-22 Thread Zheng, Kai
This codes are from Gerard and Richard I guess, and we seemed to discuss about this sometime before. It looks like a short term work around in the way. I thought the simple fix could be, if it’s against a token using the token mechanism, then just put the AdToken as the authorization data, other

Re: JWT pre-authentication - get JWT token on service side

2016-06-22 Thread Colm O hEigeartaigh
Hi Kai, On Wed, Jun 22, 2016 at 3:11 PM, Zheng, Kai wrote: > I don't quite get your 2nd question. I don't find TokenIssuer class in > Kerby codebase. > Apologies, I meant "TicketIssuer". It asks the IdentifyService for the authorization data: getKdcContext().getIdentityService()

RE: JWT pre-authentication - get JWT token on service side

2016-06-22 Thread Zheng, Kai
Hi Colm, Happy to see your great progress on this hard taking! About AuthzToken type, sorry it's my mistake. I actually meant AdToken and please look at the comment in the class header in AdToken.java. Thanks to Emmanuel, the comment put there is much nice to understand its purpose. Basically,

Re: JWT pre-authentication - get JWT token on service side

2016-06-22 Thread Colm O hEigeartaigh
Hi all, Some more questions on this task: 1) Kai, you mentioned the AuthzToken type. Is this defined somewhere so that I can add it in to the AuthorizationType class? 2) Currently, the TokenIssuer class asks the IdentityService for the authorization data. However, the IdentityService doesn't hav