|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.SecurityProviderImpl
public final class SecurityProviderImpl
This class is the entry point to the security. It is used to determine whether a given bundle is signed correctely and has permissions based on PermissionAdmin or ConditionalPermissionAdmin.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void checkBundle(org.osgi.framework.Bundle bundle)
throws java.lang.Exception
checkBundle in interface org.apache.felix.framework.ext.SecurityProviderjava.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||