}
/** {@inheritDoc} */
public void contribute(Map<String,Object> config, String container, String host) {
// Inject an anonymous security token TODO set TTL based on cachability of this JS?
SecurityToken containerToken = new AnonymousSecurityToken(container, 0,"*", 1000L * 60 * 60 * 24);
Map<String, String> authConfig = Maps.newHashMapWithExpectedSize(2);
try {
config.put("shindig.auth", authConfig);
authConfig.put("authToken", securityTokenCodec.encodeToken(containerToken));