[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.riena] Re: Wrong service implementation used since 1.1.0M7

Hi Christian,

I opened bug 276738.

Greetz,
Carsten


"Christian Campo" <christian.campo@xxxxxxxxxxxx> schrieb im Newsbeitrag 
news:4A116430.3000207@xxxxxxxxxxxxxxx
> Hi Carsten,
>
> I am sorry that I am coming back to late. We are really in a little bit of 
> stress with the Galileo Release. What you describe sounds like a bug. 
> Please dont hesitate and file a bug report if you find something like 
> this. And then we will look into the problem.
>
> Looks very strange indeed. However the bundle 
> org.eclipse.riena.security.simpleservices is not meant for production or a 
> real system. Its the intentention that you simply not deploy it and only 
> use your own implementations of IPermissionStore and ISessionStore and 
> LoginModule.
>
> cheers
> christian
>
>
> Carsten Spieker schrieb:
>> Does not anyone have the same problem with 1.1.0M7 or any idea?
>>
>> Thanks a lot!
>> Carsten
>>
>> "Carsten Spieker" <carsten.spieker@xxxxxxxxxx> schrieb im Newsbeitrag 
>> news:gudpi2$6jl$1@xxxxxxxxxxxxxxxxxxxx
>>> 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
>>>>
>>>
>>