You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Stefan Fromm <sf...@inf.tu-dresden.de> on 2004/11/12 11:45:40 UTC
User data available in stores?
Hello,
I have implemented a store which maps logical views of an IR system into Slide. For read access I use the search interface of the IR system. Access control to documents is done inside the IR system.
So it would be nice to have a user account that my store could use for mapping the data into Slide depending on the authenticated user. Unfortunately I cannot find an existing way how to provide a user name to a Slide store. The users seem only to be identifiable in the helper layer via the SlideToken.
Has anybody suggestions how to solve this?
Regards, Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: User data available in stores?
Posted by Stefan Fromm <sf...@inf.tu-dresden.de>.
Thanks Oliver,
it is what I need. I've tried it and it works.
Stefan
Am Fri, 12 Nov 2004 15:44:18 +0100 schrieb Oliver Zeigermann <ol...@gmail.com>:
> Have you tried
>
> uri.getToken().getCredentialsToken().getPrincipal()
>
> on the uri passed to every store method?
>
> Oliver
>
>
> On Fri, 12 Nov 2004 11:45:40 +0100, Stefan Fromm <sf...@inf.tu-dresden.de> wrote:
>> Hello,
>>
>> I have implemented a store which maps logical views of an IR system into Slide. For read access I use the search interface of the IR system. Access control to documents is done inside the IR system.
>>
>> So it would be nice to have a user account that my store could use for mapping the data into Slide depending on the authenticated user. Unfortunately I cannot find an existing way how to provide a user name to a Slide store. The users seem only to be identifiable in the helper layer via the SlideToken.
>>
>> Has anybody suggestions how to solve this?
>>
>> Regards, Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: User data available in stores?
Posted by Oliver Zeigermann <ol...@gmail.com>.
Have you tried
uri.getToken().getCredentialsToken().getPrincipal()
on the uri passed to every store method?
Oliver
On Fri, 12 Nov 2004 11:45:40 +0100, Stefan Fromm <sf...@inf.tu-dresden.de> wrote:
> Hello,
>
> I have implemented a store which maps logical views of an IR system into Slide. For read access I use the search interface of the IR system. Access control to documents is done inside the IR system.
>
> So it would be nice to have a user account that my store could use for mapping the data into Slide depending on the authenticated user. Unfortunately I cannot find an existing way how to provide a user name to a Slide store. The users seem only to be identifiable in the helper layer via the SlideToken.
>
> Has anybody suggestions how to solve this?
>
> Regards, Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org