com.atlassian.jira.dashboard
Class JiraWhitelist

java.lang.Object
  extended by com.atlassian.jira.dashboard.JiraWhitelist
All Implemented Interfaces:
com.atlassian.gadgets.opensocial.spi.Whitelist

public class JiraWhitelist
extends Object
implements com.atlassian.gadgets.opensocial.spi.Whitelist

A JIRA specific whitelist implementation which uses the whitelist configuration provided by the whitelist service as well as localhost for gadget loopback requests (there shouldn't be any but just in case).

Since:
v4.3

Constructor Summary
JiraWhitelist(WhitelistService whitelistService, VelocityRequestContextFactory velocityRequestContextFactory)
           
 
Method Summary
 boolean allows(URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWhitelist

public JiraWhitelist(WhitelistService whitelistService,
                     VelocityRequestContextFactory velocityRequestContextFactory)
Method Detail

allows

public boolean allows(URI uri)
Specified by:
allows in interface com.atlassian.gadgets.opensocial.spi.Whitelist


Copyright © 2002-2012 Atlassian. All Rights Reserved.