public interface LockedDomainService
| Modifier and Type | Method and Description |
|---|---|
String |
getLockedDomainForGadget(Gadget gadget,
String container)
Calculate the locked domain for a particular gadget on a particular
container.
|
boolean |
isEnabled()
Check whether locked domains feature is enabled on the server.
|
boolean |
isGadgetValidForHost(String host,
Gadget gadget,
String container)
Check whether a gadget should be allowed to render on a particular
host.
|
boolean |
isHostUsingLockedDomain(String host)
Check whether a host is using a locked domain.
|
boolean |
isRefererCheckEnabled() |
boolean |
isSafeForOpenProxy(String host) |
boolean isEnabled()
boolean isSafeForOpenProxy(String host)
boolean isGadgetValidForHost(String host, Gadget gadget, String container)
host - host name for the contentgadget - URL of the gadgetcontainer - containerString getLockedDomainForGadget(Gadget gadget, String container) throws GadgetException
gadget - URL of the gadgetcontainer - name of the container pageGadgetExceptionboolean isHostUsingLockedDomain(String host)
host - Host to inspect for locked domain suffix.boolean isRefererCheckEnabled()
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.