[ 
https://issues.apache.org/jira/browse/SHINDIG-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086491#comment-13086491
 ] 

Henry Saputra commented on SHINDIG-1580:
----------------------------------------

Hi Jesse, stupid question from me. Why would common container needs to override 
existing behavior to call osapi back when refreshing security token (ST)?

The source of truth of ST should be generated from server which called via 
osapi. Maybe I am missing something here.

Thanks, Henry

> Allow for custom security token fetch function to be used when refreshing 
> security tokens
> -----------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1580
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1580
>             Project: Shindig
>          Issue Type: Improvement
>            Reporter: Jesse Ciancetta
>         Attachments: gadget-token.patch
>
>
> Currently the common container is hard coded to make a gadgets.token OSAPI 
> call back to Shindig when refreshing security tokens.
> I'm attaching a patch which allows users of the common container to override 
> that default behavior by providing a custom function to use instead.  I've 
> followed the same pattern which is already in place for the GET_PREFERENCES 
> override for providing a custom function for fetching gadget preferences.
> If this looks good to everyone I would be happy to go ahead and submit a 
> patch against the container specification for this change as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to