[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] java.Security.AccessControlException because of org.osgi.service.event.TopicPermission is missing

Hi, I have launched Equinox 3.4 with security and I got the next Exception:

 

 

2009-09-10 10:34:18.515 Log WarningA UserAdminListener threw an Exception

{org.osgi.service.useradmin.UserAdmin}={service.description=OSGi User Admin serv

ice - IBM Implementation, service.pid=org.eclipse.equinox.internal.useradmin.Act

ivator, service.vendor=IBM, service.id=32}

java.security.AccessControlException: access denied (org.osgi.service.event.Topi

cPermission org/osgi/service/useradmin/UserAdmin/ROLE_CHANGED publish)

        at java.security.AccessControlContext.checkPermission(Unknown Source)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.int

ernalCheckPermission(FrameworkSecurityManager.java:119)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager$Che

ckPermissionAction.run(FrameworkSecurityManager.java:84)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.che

ckPermission(FrameworkSecurityManager.java:90)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.che

ckPermission(FrameworkSecurityManager.java:219)

        at org.eclipse.equinox.internal.event.EventAdminImpl.checkTopicPermissio

nPublish(EventAdminImpl.java:153)

        at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(Event

AdminImpl.java:105)

        at org.eclipse.equinox.internal.event.EventAdminImpl.postEvent(EventAdmi

nImpl.java:70)

        at org.eclipse.equinox.internal.useradmin.UserAdminEventAdapter.roleChan

ged(UserAdminEventAdapter.java:106)

        at org.eclipse.equinox.internal.useradmin.UserAdminEventProducer.dispatc

hEvent(UserAdminEventProducer.java:136)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM

anager.java:211)

        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even

tManager.java:321)

2009-09-10 10:34:18.562 Log WarningA UserAdminListener threw an Exception

{org.osgi.service.useradmin.UserAdmin}={service.description=OSGi User Admin serv

ice - IBM Implementation, service.pid=org.eclipse.equinox.internal.useradmin.Act

ivator, service.vendor=IBM, service.id=32}

java.security.AccessControlException: access denied (org.osgi.service.event.Topi

cPermission org/osgi/service/useradmin/UserAdmin/ROLE_CHANGED publish)

        at java.security.AccessControlContext.checkPermission(Unknown Source)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.int

ernalCheckPermission(FrameworkSecurityManager.java:119)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager$Che

ckPermissionAction.run(FrameworkSecurityManager.java:84)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.che

ckPermission(FrameworkSecurityManager.java:90)

        at org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager.che

ckPermission(FrameworkSecurityManager.java:219)

        at org.eclipse.equinox.internal.event.EventAdminImpl.checkTopicPermissio

nPublish(EventAdminImpl.java:153)

        at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(Event

AdminImpl.java:105)

        at org.eclipse.equinox.internal.event.EventAdminImpl.postEvent(EventAdmi

nImpl.java:70)

        at org.eclipse.equinox.internal.useradmin.UserAdminEventAdapter.roleChan

ged(UserAdminEventAdapter.java:106)

        at org.eclipse.equinox.internal.useradmin.UserAdminEventProducer.dispatc

hEvent(UserAdminEventProducer.java:136)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM

anager.java:211)

        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even

tManager.java:321)

 

I can continue running my bundles after this without any problem, but I would like to know why I am getting this Exception, or know if this is a bug.

 

Thanks