org.apache.shindig.gadgets.uri
Class HashShaLockedDomainPrefixGenerator

java.lang.Object
  extended by org.apache.shindig.gadgets.uri.HashShaLockedDomainPrefixGenerator
All Implemented Interfaces:
LockedDomainPrefixGenerator

public class HashShaLockedDomainPrefixGenerator
extends Object
implements LockedDomainPrefixGenerator

A simple implementation of locked domain that hashes the gadgeturi as the prefix.


Constructor Summary
HashShaLockedDomainPrefixGenerator()
           
 
Method Summary
 String getLockedDomainPrefix(Uri gadgetUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashShaLockedDomainPrefixGenerator

public HashShaLockedDomainPrefixGenerator()
Method Detail

getLockedDomainPrefix

public String getLockedDomainPrefix(Uri gadgetUri)
Specified by:
getLockedDomainPrefix in interface LockedDomainPrefixGenerator


Copyright © 2007-2012. All Rights Reserved.