Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO/Net4j]Add User at th client
[CDO/Net4j]Add User at th client [message #427926] Fri, 06 March 2009 09:39 Go to next message
Xingxiao Lu is currently offline Xingxiao LuFriend
Messages: 91
Registered: July 2009
Member
Hi,Eike
CDO does not seem to support this feature now. I want to implement it.
How should I do?
Re: [CDO/Net4j]Add User at th client [message #427927 is a reply to message #427926] Fri, 06 March 2009 10:06 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Xxlu,

Please explain a bit more detailed what you have and what you want to
achieve.

Cheers
/Eike

----
http://thegordian.blogspot.com



xxlu schrieb:
> Hi,Eike
> CDO does not seem to support this feature now. I want to implement it.
> How should I do?
>
>
>


Re: [CDO/Net4j]Add User at th client [message #427930 is a reply to message #427927] Fri, 06 March 2009 10:35 Go to previous messageGo to next message
Xingxiao Lu is currently offline Xingxiao LuFriend
Messages: 91
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C99E8A.425EE300
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

Eike,
When Using CDO Net4J Authentification, Server configuration with =
cdo-server.xml like this:
<acceptor type=3D"tcp" listenAddr=3D"0.0.0.0" port=3D"2036">
<negotiator type=3D"challenge" description=3D"/tmp/users.db"/>
</acceptor>
At the server side, User can Add user account by modify the users.db =
file directly. I want to know how create/delete/modify the user account =
at the client side.=20



"Eike Stepper" <stepper@esc-net.de>=20
> Xxlu,
>=20
> Please explain a bit more detailed what you have and what you want to=20
> achieve.
>=20
> Cheers
> /Eike
>=20
> ----
> http://thegordian.blogspot.com
>=20
>=20
>=20
> xxlu schrieb:
>> Hi,Eike
>> CDO does not seem to support this feature now. I want to =
implement it.=20
>> How should I do?=20
>>
>>
>>
------=_NextPart_000_0012_01C99E8A.425EE300
Content-Type: text/html;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.6000.16809" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3D"Courier New">Eike,</FONT></DIV>
<DIV><FONT face=3D"Courier New">&nbsp;&nbsp;&nbsp; When Using CDO Net4J=20
Authentification, Server configuration with cdo-server.xml like=20
this:</FONT></DIV>
<DIV><PRE>&lt;acceptor type=3D"tcp" listenAddr=3D"0.0.0.0" =
port=3D"2036"&gt;
&lt;negotiator type=3D"challenge" description=3D"/tmp/users.db"/&gt;
&lt;/acceptor&gt;
</PRE><PRE>At the server side, User can Add user account by modify the =
users.db file directly. </PRE><PRE>I want to know how =
create/delete/modify the user account at the client side. </PRE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>"Eike Stepper" &lt;<A=20
href=3D"mailto:stepper@esc-net.de">stepper@esc-net.de</A>&gt; </DIV>
<DIV>&gt; Xxlu,<BR>&gt; <BR>&gt; Please explain a bit more detailed what =
you=20
have and what you want to <BR>&gt; achieve.<BR>&gt; <BR>&gt; =
Cheers<BR>&gt;=20
/Eike<BR>&gt; <BR>&gt; ----<BR>&gt; <A=20
href=3D"http://thegordian.blogspot.com">http://thegordian.blogspot.com</A=
><BR>&gt;=20
<BR>&gt; <BR>&gt; <BR>&gt; xxlu schrieb:<BR>&gt;&gt;=20
Hi,Eike<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; CDO does not seem to support =
this=20
feature now. I want to implement it. <BR>&gt;&gt; How should I do?=20
<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; </DIV></BODY></HTML>

------=_NextPart_000_0012_01C99E8A.425EE300--
Re: [CDO/Net4j]Add User at th client [message #427941 is a reply to message #427930] Fri, 06 March 2009 12:19 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Xxlu,

I think there are two different approaches possible:

1) You can implement authentication (and authorization?) based on am
"internal" CDO model in the repository (instead of a plain auth file).
Then you can administrate the server by committing regular CDO
transactions that change this model. If you go this way I'd appreciate
if you want to contribute this mechanism to CDO.
2) You can use whatever mechanism you find appropriate to change the
content of the server side auth file. Net4j is one such mechanism.

Cheers
/Eike

----
http://thegordian.blogspot.com



xxlu schrieb:
> Eike,
> When Using CDO Net4J Authentification, Server configuration with
> cdo-server.xml like this:
> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
> <negotiator type="challenge" description="/tmp/users.db"/>
> </acceptor>
>
> At the server side, User can Add user account by modify the users.db file directly.
> I want to know how create/delete/modify the user account at the client side.
>
>
>
>
> "Eike Stepper" <stepper@esc-net.de <mailto:stepper@esc-net.de>>
> > Xxlu,
> >
> > Please explain a bit more detailed what you have and what you want to
> > achieve.
> >
> > Cheers
> > /Eike
> >
> > ----
> > http://thegordian.blogspot.com
> >
> >
> >
> > xxlu schrieb:
> >> Hi,Eike
> >> CDO does not seem to support this feature now. I want to
> implement it.
> >> How should I do?
> >>
> >>
> >>


Previous Topic:Applying constraints on CellEditor for EReference attributes
Next Topic:[CDO] NullPointerException on reload
Goto Forum:
  


Current Time: Thu Apr 25 14:05:59 GMT 2024

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

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

Back to the top