public class SingleProtectionDomainFactory extends java.lang.Object implements ProtectionDomainFactory
ProtectionDomainFactory that
wraps a single protection domain.| Constructor and Description |
|---|
SingleProtectionDomainFactory(java.security.ProtectionDomain protectionDomain)
Create a factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.ProtectionDomain |
getProtectionDomain(java.lang.ClassLoader classloader)
Returns the wrapped protection domain.
|
public SingleProtectionDomainFactory(java.security.ProtectionDomain protectionDomain)
protectionDomain - the protection domain which will be returned for all classloaderspublic java.security.ProtectionDomain getProtectionDomain(java.lang.ClassLoader classloader)
getProtectionDomain in interface ProtectionDomainFactoryclassloader - the classloader© 2001-2010 Jaspersoft Corporation www.jaspersoft.com