|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.security.util.LocalPermissions
public final class LocalPermissions
A cache for local permissions. Local permissions are read from a given bundle and cached for later lookup. See core spec 9.2.1.
| Constructor Summary | |
|---|---|
LocalPermissions(Permissions permissions)
|
|
| Method Summary | |
|---|---|
boolean |
implies(org.apache.felix.framework.cache.Content content,
org.osgi.framework.Bundle bundle,
java.security.Permission permission)
Return true in case that the given permission is implied by the local permissions of the given bundle or if there are none otherwise, false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalPermissions(Permissions permissions)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean implies(org.apache.felix.framework.cache.Content content,
org.osgi.framework.Bundle bundle,
java.security.Permission permission)
root - the root to use for cacheing as a keyloader - the loader to get the content of the bundle frombundle - the bundle in quesitonpermission - the permission to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||