public final class SecurityProviderImpl extends Object implements org.apache.felix.framework.ext.SecurityProvider
Modifier and Type | Method and Description |
---|---|
void |
checkBundle(org.osgi.framework.Bundle bundle)
If the given bundle is signed but can not be verified (e.g., missing
files) then throw an exception.
|
Object |
getSignerMatcher(org.osgi.framework.Bundle bundle,
int signersType)
Get a signer matcher that can be used to match digital signed bundles.
|
boolean |
hasBundlePermission(ProtectionDomain bundleProtectionDomain,
Permission permission,
boolean direct)
If we have a permissionadmin then ask that one first and have it decide
in case there is a location bound.
|
public void checkBundle(org.osgi.framework.Bundle bundle) throws Exception
checkBundle
in interface org.apache.felix.framework.ext.SecurityProvider
Exception
public Object getSignerMatcher(org.osgi.framework.Bundle bundle, int signersType)
getSignerMatcher
in interface org.apache.felix.framework.ext.SecurityProvider
public boolean hasBundlePermission(ProtectionDomain bundleProtectionDomain, Permission permission, boolean direct)
hasBundlePermission
in interface org.apache.felix.framework.ext.SecurityProvider
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.