Thanks Stanton! Just the information I was looking for. doug
On 2/15/13 12:36 PM, "Stanton Sievers" <ssiev...@apache.org> wrote: > As a gadget writer you don't need to do anything. Gadget token refreshing > will happen for you automatically by the container. > > As a container you can set > osapi.container.ContainerConfig.GET_CONTAINER_TOKEN as part of the config > object you give the container when constructing it in order to enable > automatic container token refreshing. See the jsdoc in > features/container.util/constant.js for more info. > > FYI, if you want to hook into the gadget token refresh as a container > implementor you can look at GET_GADGET_TOKEN in the container config as > well. > > -Stanton > On Feb 14, 2013 1:03 PM, "Doug Davies" <davi...@oclc.org> wrote: > >> I guess my question was more... What do I need to do as a container >> implementer and a gadget writer to ensure I am getting my tokens refreshed? >> Is this suppose to be automatic or is there some work I have to do? >> >> doug >> >> >> On 2/13/13 5:22 PM, "Dan Dumont" <ddum...@gmail.com> wrote: >> >>> Shindig should be able to take valid container tokens and mint new gadget >>> tokens as-is. >>> Container tokens will need to be minted by you somehow. You'll want to >> use >>> the same crypter/codec and key that shindig will use to decode them. >>> >>> On Wed, Feb 13, 2013 at 9:20 AM, Doug Davies <davi...@oclc.org> wrote: >>> >>>>> I was reading this wiki page >>>>> >>>>> https://cwiki.apache.org/SHINDIG/security-tokens.html >>>>> >>>>> I know there has been some work on gadget refresh tokens in the 2.5 >> beta >>>>> releases. Can someone briefly tell me that state of refreshing both >>>>> container and gadget tokens in 2.5? Do either require that my >>>>> authentication server support the refresh token call? What am I >> required >>>>> to >>>>> implement and what should happen automatically? >>>>> >>>>> Thanks, >>>>> doug >>>>> >>> >> >>