Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [cdo] authentication
[cdo] authentication [message #1121327] Mon, 30 September 2013 09:58 Go to next message
saurav singh is currently offline saurav singh
Messages: 21
Registered: August 2013
Junior Member
Is there any way to know that a particular credential(user name & password) can authenticate cdo server without actually authenticating it?

Re: [cdo] authentication [message #1121432 is a reply to message #1121327] Mon, 30 September 2013 12:05 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5499
Registered: July 2009
Senior Member
Am 30.09.2013 15:58, schrieb saurav singh:
> Is there any way to know that a particular credential(user name & password) can authenticate cdo server without
> actually authenticating it?
Currently I know of no other way than trying to open a CDOSession and see whether that succeeds or not. If your code
runs on the server you could use the repository.getSessionManager().getAuthenticator() to authenticate a user without
actually opening a session for him. Of course you could write your own small Net4j protocol to make that accessible from
a client. Then you would probably want to use DiffieHellman.Server and DiffieHellman.Client to avoid network transfers
with clear text passwords.

Regards,
Eike Stepper

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:UML profile and EMF ecore
Next Topic:strange exception moving EMF based application from Helios to Kepler
Goto Forum:
  


Current Time: Fri Aug 22 21:47:51 EDT 2014

Powered by FUDForum. Page generated in 0.01684 seconds