You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by be...@apache.org on 2008/10/17 19:27:52 UTC
svn commit: r705679 - in /incubator/shindig/trunk/features: auth-refresh/
auth-refresh/auth-refresh.js auth-refresh/feature.xml features.txt
Author: beaton
Date: Fri Oct 17 10:27:52 2008
New Revision: 705679
URL: http://svn.apache.org/viewvc?rev=705679&view=rev
Log:
Let container update gadget security token (see SHINDIG-655).
Added:
incubator/shindig/trunk/features/auth-refresh/
incubator/shindig/trunk/features/auth-refresh/auth-refresh.js (with props)
incubator/shindig/trunk/features/auth-refresh/feature.xml (with props)
Modified:
incubator/shindig/trunk/features/features.txt
Added: incubator/shindig/trunk/features/auth-refresh/auth-refresh.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/auth-refresh/auth-refresh.js?rev=705679&view=auto
==============================================================================
--- incubator/shindig/trunk/features/auth-refresh/auth-refresh.js (added)
+++ incubator/shindig/trunk/features/auth-refresh/auth-refresh.js Fri Oct 17 10:27:52 2008
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+/**
+ * @fileoverview Allows the container to refresh the gadget security token.
+ */
+gadgets.rpc.register('update_security_token', function(token) {
+ shindig.auth.updateSecurityToken(token);
+});
Propchange: incubator/shindig/trunk/features/auth-refresh/auth-refresh.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/shindig/trunk/features/auth-refresh/feature.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/auth-refresh/feature.xml?rev=705679&view=auto
==============================================================================
--- incubator/shindig/trunk/features/auth-refresh/feature.xml (added)
+++ incubator/shindig/trunk/features/auth-refresh/feature.xml Fri Oct 17 10:27:52 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+-->
+<feature>
+ <name>auth-refresh</name>
+ <dependency>rpc</dependency>
+ <gadget>
+ <script src="auth-refresh.js"/>
+ </gadget>
+</feature>
Propchange: incubator/shindig/trunk/features/auth-refresh/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/shindig/trunk/features/features.txt
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/features.txt?rev=705679&r1=705678&r2=705679&view=diff
==============================================================================
--- incubator/shindig/trunk/features/features.txt (original)
+++ incubator/shindig/trunk/features/features.txt Fri Oct 17 10:27:52 2008
@@ -1,6 +1,7 @@
# List each feature you want to support here
features/analytics/feature.xml
+features/auth-refresh/feature.xml
features/caja/feature.xml
features/core.io/feature.xml
features/core/feature.xml