org.apache.shindig.gadgets.config
Class ShindigAuthConfigContributor

java.lang.Object
  extended by org.apache.shindig.gadgets.config.ShindigAuthConfigContributor
All Implemented Interfaces:
ConfigContributor

public class ShindigAuthConfigContributor
extends Object
implements ConfigContributor


Constructor Summary
ShindigAuthConfigContributor(SecurityTokenCodec codec)
           
 
Method Summary
 void contribute(Map<String,Object> config, Gadget gadget)
          Contribute configuration values for a specific gadget in an iframe.
 void contribute(Map<String,Object> config, String container, String host)
          Contribute configuration for the container specific javascript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShindigAuthConfigContributor

@Inject
public ShindigAuthConfigContributor(SecurityTokenCodec codec)
Method Detail

contribute

public void contribute(Map<String,Object> config,
                       Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.

Specified by:
contribute in interface ConfigContributor
Parameters:
config - The config mapping of feature to value.
gadget - The gadget to contribute for.

contribute

public void contribute(Map<String,Object> config,
                       String container,
                       String host)
Contribute configuration for the container specific javascript. This interface should only support params used by JsServlet

Specified by:
contribute in interface ConfigContributor
Parameters:
config - The config to add to.
container - The container.
host - The hostname


Copyright © 2007-2012. All Rights Reserved.