Re: OAuthClientUtils.fromMapToClientToken

2013-07-07 Thread Sergey Beryozkin
Hi On 06/07/13 06:05, inteloid wrote: Hi. in mentioned method, the first line checks whether the token map contains keys: OAuthConstants.ACCESS_TOKEN and OAuthConstants.ACCESS_TOKEN_TYPE In my case, map looks like this, and I assume it's correct and shouldn't contain that keys. {

Re: OAuthClientUtils.fromMapToClientToken

2013-07-07 Thread inteloid
Hi Sergey. I'm getting the token from CXF OAuth2 server, it's a standard Bearer token just the key is encrypted custom key, nothing is changed. I wander, where this client utility class was supposed to work? Am I doin't something wrong, or I need my own utility class? -- View this message in

Re: OAuthClientUtils.fromMapToClientToken

2013-07-07 Thread Sergey Beryozkin
Hi On 07/07/13 19:36, inteloid wrote: Hi Sergey. I'm getting the token from CXF OAuth2 server, it's a standard Bearer token just the key is encrypted custom key, nothing is changed. I wander, where this client utility class was supposed to work? Am I doin't something wrong, or I need my own

Re: OAuthClientUtils.fromMapToClientToken

2013-07-07 Thread inteloid
You're correct. I was using Jackson mapper just like with my ordinary services, I've changed to OAuthJSONProvider and it runs smooth and flawless. Thanks a lot dude. -- View this message in context: http://cxf.547215.n5.nabble.com/OAuthClientUtils-fromMapToClientToken-tp5730364p5730394.html

OAuthClientUtils.fromMapToClientToken

2013-07-05 Thread inteloid
Hi. in mentioned method, the first line checks whether the token map contains keys: OAuthConstants.ACCESS_TOKEN and OAuthConstants.ACCESS_TOKEN_TYPE In my case, map looks like this, and I assume it's correct and shouldn't contain that keys. { tokenKey=1|2PoPR7hwrPOPAdiCuVrpINFErQTy0MLy,