You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Brian Eaton (JIRA)" <ji...@apache.org> on 2008/05/12 01:43:55 UTC

[jira] Created: (SHINDIG-264) isolate javascript that uses the security token

isolate javascript that uses the security token
-----------------------------------------------

                 Key: SHINDIG-264
                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
             Project: Shindig
          Issue Type: Improvement
          Components: Features (Javascript)
            Reporter: Brian Eaton


I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-264:
--------------------------------

    Attachment:     (was: shindig.auth.patch)

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-update.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-264:
--------------------------------

    Attachment: auth-token-update.patch

Updated patches so they apply against HEAD.

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-update.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton resolved SHINDIG-264.
---------------------------------

    Resolution: Fixed

Fixed in revision 664192.

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-update.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-264:
--------------------------------

    Attachment: shindig.auth.patch

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: shindig.auth.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-264:
--------------------------------

    Attachment: auth-token-updates.patch

The JS changes might make more sense if they are paired with the corresponding functionality on the rendering server that takes advantage of them.

There are two end goals from these changes.

1) Let the gadget rendering server change the auth token.  This is handy for using the auth token to store transient state that changes on occasion.

2) Let the container pass some JSON in the auth token that the rendering server will inject directly into the gadget.  This can help avoid the need for extra round trips when a gadget needs to get authenticated data from the container.

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-updates.patch, shindig.auth.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603207#action_12603207 ] 

Kevin Brown commented on SHINDIG-264:
-------------------------------------

The patch looks good, except for one issue -- the javascript is adding a new global ("Auth"). This should probably be shindig.auth, or at least gadgets.auth.

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-update.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-264) isolate javascript that uses the security token

Posted by "Brian Eaton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-264:
--------------------------------

    Attachment:     (was: auth-token-updates.patch)

> isolate javascript that uses the security token
> -----------------------------------------------
>
>                 Key: SHINDIG-264
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-264
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Brian Eaton
>         Attachments: auth-token-update.patch
>
>
> I've got a patch to move the handling of the security token into its own javascript class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.