package net.sf.jasperreports.engine.util;

import java.security.ProtectionDomain;

public class SingleProtectionDomainFactory implements ProtectionDomainFactory {
  private final ProtectionDomain protectionDomain;
  
  public SingleProtectionDomainFactory(ProtectionDomain protectionDomain) {
    this.protectionDomain = protectionDomain;
  }
  
  public ProtectionDomain getProtectionDomain(ClassLoader classloader) {
    return this.protectionDomain;
  }
}
