Ask Your Question

How do I login/authenticate a user in my DataONE enabled application?

asked 2013-04-03 13:06:35 -0500

waltz gravatar image

updated 2013-05-01 13:28:54 -0500

I have a java application in which I have implemented DataONE APIs to access content. How do I incorporate user login/authentication into my java app?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-01 10:27:27 -0500

updated 2013-05-01 11:41:10 -0500

leinfelder gravatar image

A starting point is the Identity Management and Authenticated Session Management in the DataONE Architecture documentation.

Overall, what needs to be done is that users need to use the DataONE skin for CILogon to authenticate with their chosen identity provider and receive a CILogin certificate (which is valid for 18 hours). Your application will then use that client certificate when making calls to any DataONE service methods that require authentication. That certificate is used when establishing the SSL connection with the DataONE service.

More details of how to do this specifically using the Java client are provided in the Use of DataONE Java Client Library section of the DataONE developer documentation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools


Asked: 2013-04-03 13:06:35 -0500

Seen: 225 times

Last updated: May 01 '13