This is the information shown in OSGi Management Agent:
<agent-output>
{org.eclipse.riena.security.authorizationservice.IPermissionStore}={service.ranking=0,
service.id=70}
Registered by bundle: com.pa.eai.spieker.authentication_1.0.0.qualifier
[14]
No bundles using service.
...
{org.eclipse.riena.security.authorizationservice.IPermissionStore}={service.ranking=-100,
service.id=76}
Registered by bundle: org.eclipse.riena.security.simpleservices_1.1.0.M7
[36]
Bundles using service:
org.eclipse.riena.security.services_1.1.0.M7 [34]
</agent-output>
Greetz,
Carsten
"Carsten Spieker" <carsten.spieker@xxxxxxxxxx> schrieb im Newsbeitrag
news:gudmhe$avr$1@xxxxxxxxxxxxxxxxxxxx
Hi,
since I switched to Riena 1.1.0M7 I have problems with my own
implementation of IPermissionStore.
I implemented IPermissionStore in my own bundle and registered it with
service.ranking=0 (since riena services are registered with
service.ranking=-100). My bundle and the bundle
org.eclipse.riena.security.simpleServices are both ACTIVE on server side.
When checking services in the OSGi Management agent I can see that the
service implementation of org.eclipse.riena.security.simpleServices is
used and not mine. Because of that my IPermissionStore implementation is
not used when checking user rights using Sentinel-class.
What can be wrong here? With 1.1.0M6 everything worked fine.
Thanks a lot!
Greetz,
Carsten