first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user