public final class SecurityProviderImpl
extends java.lang.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.
|
java.lang.Object |
getSignerMatcher(org.osgi.framework.Bundle bundle,
int signersType)
Get a signer matcher that can be used to match digital signed bundles.
|
boolean |
hasBundlePermission(java.security.ProtectionDomain bundleProtectionDomain,
java.security.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 java.lang.Exception
checkBundle
in interface org.apache.felix.framework.ext.SecurityProvider
java.lang.Exception
public java.lang.Object getSignerMatcher(org.osgi.framework.Bundle bundle, int signersType)
getSignerMatcher
in interface org.apache.felix.framework.ext.SecurityProvider
public boolean hasBundlePermission(java.security.ProtectionDomain bundleProtectionDomain, java.security.Permission permission, boolean direct)
hasBundlePermission
in interface org.apache.felix.framework.ext.SecurityProvider
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.