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 ProtectionDomainFactory
classloader
- the classloader© 2001-2014 TIBCO Software Inc. www.jaspersoft.com