Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] How/where to add the code to set the user manager on the server side
[CDO] How/where to add the code to set the user manager on the server side [message #686745] Fri, 13 May 2011 20:43 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup. My
main question for now is how/where to add the UserManager in the sessionmanager?

I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior (or
maybe this is the total wrong location for this), when starting/stopping a cdo server app?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686748 is a reply to message #686745] Sat, 14 May 2011 07:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Martin,

This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been added in the context of:

302775: Allow configuration of authentication in cdo-server.xml
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 13.05.2011 22:43, schrieb Martin Taal:
> Hi,
> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup. My main question for now is how/where to add the UserManager in the sessionmanager?
>
> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686752 is a reply to message #686748] Sat, 14 May 2011 17:31 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
Thanks great, another question, how can I get access to the store for which authentication happens (I have been checking
the ChallengeResponseNegotiator but I could not directly find it)?

gr. Martin

On 05/14/2011 09:31 AM, Eike Stepper wrote:
> Hi Martin,
>
> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
> added in the context of:
>
> 302775: Allow configuration of authentication in cdo-server.xml
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Am 13.05.2011 22:43, schrieb Martin Taal:
>> Hi,
>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>
>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686753 is a reply to message #686752] Sat, 14 May 2011 18:08 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 14.05.2011 19:31, schrieb Martin Taal:
> Hi Eike,
> Thanks great, another question, how can I get access to the store for which authentication happens (I have been checking the ChallengeResponseNegotiator but I could not directly find it)?
Access from *where*?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>> Hi Martin,
>>
>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>> added in the context of:
>>
>> 302775: Allow configuration of authentication in cdo-server.xml
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>> Hi,
>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>
>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>
>>>
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686754 is a reply to message #686753] Sun, 15 May 2011 08:39 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as the
(Hibernate)Store.

gr. Martin

On 05/14/2011 08:08 PM, Eike Stepper wrote:
> Am 14.05.2011 19:31, schrieb Martin Taal:
>> Hi Eike,
>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>> checking the ChallengeResponseNegotiator but I could not directly find it)?
> Access from *where*?
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>>
>> gr. Martin
>>
>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>> Hi Martin,
>>>
>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>> added in the context of:
>>>
>>> 302775: Allow configuration of authentication in cdo-server.xml
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>> Hi,
>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>
>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>
>>>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686755 is a reply to message #686754] Sun, 15 May 2011 09:27 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.05.2011 10:39, schrieb Martin Taal:
> Hi Eike,
> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as the (Hibernate)Store.
org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to track the development of a repository-aware user manager:

345835: Provide a user manager that knows about its repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>> Hi Eike,
>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>> Access from *where*?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>>
>>> gr. Martin
>>>
>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>> Hi Martin,
>>>>
>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>> added in the context of:
>>>>
>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>
>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>> Hi,
>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>
>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>
>>>>>
>>>
>>>
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686756 is a reply to message #686755] Sun, 15 May 2011 10:03 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
Okay great, I need this functionality, so if I can contribute let me know. I would need some pointers to a solution
which fits in the current architecture though...

gr. Martin

On 05/15/2011 11:27 AM, Eike Stepper wrote:
> Am 15.05.2011 10:39, schrieb Martin Taal:
>> Hi Eike,
>> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
>> that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as
>> the (Hibernate)Store.
> org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal
> dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to
> track the development of a repository-aware user manager:
>
> 345835: Provide a user manager that knows about its repository
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>>
>> gr. Martin
>>
>> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>>> Hi Eike,
>>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>>> Access from *where*?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>>
>>>> gr. Martin
>>>>
>>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>>> Hi Martin,
>>>>>
>>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>>> added in the context of:
>>>>>
>>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://www.esc-net.de
>>>>> http://thegordian.blogspot.com
>>>>> http://twitter.com/eikestepper
>>>>>
>>>>>
>>>>>
>>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>>> Hi,
>>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>>
>>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686758 is a reply to message #686756] Sun, 15 May 2011 11:07 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.05.2011 12:03, schrieb Martin Taal:
> Hi Eike,
> Okay great, I need this functionality, so if I can contribute let me know. I would need some pointers to a solution which fits in the current architecture though...
It's already done. Usage description is in:

345835: Provide a user manager that knows about its repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/15/2011 11:27 AM, Eike Stepper wrote:
>> Am 15.05.2011 10:39, schrieb Martin Taal:
>>> Hi Eike,
>>> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
>>> that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as
>>> the (Hibernate)Store.
>> org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal
>> dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to
>> track the development of a repository-aware user manager:
>>
>> 345835: Provide a user manager that knows about its repository
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>>
>>> gr. Martin
>>>
>>> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>>>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>>>> Hi Eike,
>>>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>>>> Access from *where*?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>>
>>>>> gr. Martin
>>>>>
>>>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>>>> Hi Martin,
>>>>>>
>>>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>>>> added in the context of:
>>>>>>
>>>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>>>
>>>>>> Cheers
>>>>>> /Eike
>>>>>>
>>>>>> ----
>>>>>> http://www.esc-net.de
>>>>>> http://thegordian.blogspot.com
>>>>>> http://twitter.com/eikestepper
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>>>> Hi,
>>>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>>>
>>>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686907 is a reply to message #686745] Sat, 14 May 2011 07:31 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Martin,

This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been added in the context of:

302775: Allow configuration of authentication in cdo-server.xml
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 13.05.2011 22:43, schrieb Martin Taal:
> Hi,
> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup. My main question for now is how/where to add the UserManager in the sessionmanager?
>
> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686914 is a reply to message #686748] Sat, 14 May 2011 17:31 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
Thanks great, another question, how can I get access to the store for which authentication happens (I have been checking
the ChallengeResponseNegotiator but I could not directly find it)?

gr. Martin

On 05/14/2011 09:31 AM, Eike Stepper wrote:
> Hi Martin,
>
> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
> added in the context of:
>
> 302775: Allow configuration of authentication in cdo-server.xml
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Am 13.05.2011 22:43, schrieb Martin Taal:
>> Hi,
>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>
>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686915 is a reply to message #686752] Sat, 14 May 2011 18:08 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 14.05.2011 19:31, schrieb Martin Taal:
> Hi Eike,
> Thanks great, another question, how can I get access to the store for which authentication happens (I have been checking the ChallengeResponseNegotiator but I could not directly find it)?
Access from *where*?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>> Hi Martin,
>>
>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>> added in the context of:
>>
>> 302775: Allow configuration of authentication in cdo-server.xml
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>> Hi,
>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>
>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>
>>>
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686916 is a reply to message #686753] Sun, 15 May 2011 08:39 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as the
(Hibernate)Store.

gr. Martin

On 05/14/2011 08:08 PM, Eike Stepper wrote:
> Am 14.05.2011 19:31, schrieb Martin Taal:
>> Hi Eike,
>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>> checking the ChallengeResponseNegotiator but I could not directly find it)?
> Access from *where*?
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>>
>> gr. Martin
>>
>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>> Hi Martin,
>>>
>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>> added in the context of:
>>>
>>> 302775: Allow configuration of authentication in cdo-server.xml
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>> Hi,
>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>
>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>
>>>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686917 is a reply to message #686754] Sun, 15 May 2011 09:27 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.05.2011 10:39, schrieb Martin Taal:
> Hi Eike,
> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as the (Hibernate)Store.
org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to track the development of a repository-aware user manager:

345835: Provide a user manager that knows about its repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>> Hi Eike,
>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>> Access from *where*?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>>
>>> gr. Martin
>>>
>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>> Hi Martin,
>>>>
>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>> added in the context of:
>>>>
>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>
>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>> Hi,
>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>
>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>
>>>>>
>>>
>>>
>
>


Re: [CDO] How/where to add the code to set the user manager on the server side [message #686918 is a reply to message #686755] Sun, 15 May 2011 10:03 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Eike,
Okay great, I need this functionality, so if I can contribute let me know. I would need some pointers to a solution
which fits in the current architecture though...

gr. Martin

On 05/15/2011 11:27 AM, Eike Stepper wrote:
> Am 15.05.2011 10:39, schrieb Martin Taal:
>> Hi Eike,
>> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
>> that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as
>> the (Hibernate)Store.
> org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal
> dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to
> track the development of a repository-aware user manager:
>
> 345835: Provide a user manager that knows about its repository
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>>
>> gr. Martin
>>
>> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>>> Hi Eike,
>>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>>> Access from *where*?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>>
>>>> gr. Martin
>>>>
>>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>>> Hi Martin,
>>>>>
>>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>>> added in the context of:
>>>>>
>>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://www.esc-net.de
>>>>> http://thegordian.blogspot.com
>>>>> http://twitter.com/eikestepper
>>>>>
>>>>>
>>>>>
>>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>>> Hi,
>>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>>
>>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] How/where to add the code to set the user manager on the server side [message #686920 is a reply to message #686756] Sun, 15 May 2011 11:07 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.05.2011 12:03, schrieb Martin Taal:
> Hi Eike,
> Okay great, I need this functionality, so if I can contribute let me know. I would need some pointers to a solution which fits in the current architecture though...
It's already done. Usage description is in:

345835: Provide a user manager that knows about its repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 05/15/2011 11:27 AM, Eike Stepper wrote:
>> Am 15.05.2011 10:39, schrieb Martin Taal:
>>> Hi Eike,
>>> From the UserManager. The user information is stored in the same database as the rest of the domain model. This means
>>> that the UserManager (used by the ChallengeResponseNegiotiator) would need to be able to access the same database as
>>> the (Hibernate)Store.
>> org.eclipse.net4j.util.security.IUserManager is a "business" interface without any knowledge about internal
>> dependencies. The default implementations (like type="file") do not know about CDO at all. I've entered a bugzilla to
>> track the development of a repository-aware user manager:
>>
>> 345835: Provide a user manager that knows about its repository
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>>
>>> gr. Martin
>>>
>>> On 05/14/2011 08:08 PM, Eike Stepper wrote:
>>>> Am 14.05.2011 19:31, schrieb Martin Taal:
>>>>> Hi Eike,
>>>>> Thanks great, another question, how can I get access to the store for which authentication happens (I have been
>>>>> checking the ChallengeResponseNegotiator but I could not directly find it)?
>>>> Access from *where*?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>>
>>>>> gr. Martin
>>>>>
>>>>> On 05/14/2011 09:31 AM, Eike Stepper wrote:
>>>>>> Hi Martin,
>>>>>>
>>>>>> This should be possible through the existing RepositoryConfigurator. Support for authentication configuration has been
>>>>>> added in the context of:
>>>>>>
>>>>>> 302775: Allow configuration of authentication in cdo-server.xml
>>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775
>>>>>>
>>>>>> Cheers
>>>>>> /Eike
>>>>>>
>>>>>> ----
>>>>>> http://www.esc-net.de
>>>>>> http://thegordian.blogspot.com
>>>>>> http://twitter.com/eikestepper
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 13.05.2011 22:43, schrieb Martin Taal:
>>>>>>> Hi,
>>>>>>> I need to add client authentication to our system. I have read through the docs and several threads in the newsgroup.
>>>>>>> My main question for now is how/where to add the UserManager in the sessionmanager?
>>>>>>>
>>>>>>> I mean can this be done in an AppExtension or should I write my own CDOServerApplication class to add this behavior
>>>>>>> (or maybe this is the total wrong location for this), when starting/stopping a cdo server app?
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>
>


Previous Topic:(no subject)
Next Topic:[CDO] Hibernate Server Example ->Not able to update resources ids of CDOResource with id
Goto Forum:
  


Current Time: Thu Apr 25 01:04:44 GMT 2024

Powered by FUDForum. Page generated in 0.04560 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top