com.atlassian.gadgets.renderer.internal.http
Class DelegatingWhitelist
java.lang.Object
com.atlassian.gadgets.renderer.internal.http.DelegatingWhitelist
- All Implemented Interfaces:
- com.atlassian.gadgets.opensocial.spi.Whitelist
public class DelegatingWhitelist
- extends Object
- implements com.atlassian.gadgets.opensocial.spi.Whitelist
A whitelist which delegates to 1 or more other whitelists and only allows access if one of the delegates allows
access.
Constructor Summary |
DelegatingWhitelist(com.atlassian.gadgets.opensocial.spi.Whitelist whitelist,
Iterable<com.atlassian.gadgets.opensocial.spi.Whitelist> optionalWhitelists)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingWhitelist
public DelegatingWhitelist(com.atlassian.gadgets.opensocial.spi.Whitelist whitelist,
Iterable<com.atlassian.gadgets.opensocial.spi.Whitelist> optionalWhitelists)
allows
public boolean allows(URI uri)
- Specified by:
allows
in interface com.atlassian.gadgets.opensocial.spi.Whitelist
Copyright © 2011 Atlassian. All Rights Reserved.