Ask Your Question

Revision history [back]

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 portal for CILogon to log in and get a CILogin certificate (which is currently valid for 24 hours). Your application will then use that certificate to call the cn_Auth.login() method to get an AuthToken. That AuthToken then gets passed to each DataONE method call.

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.

click to hide/show revision 2
removed outdated reference to CN.loging() method (it does not exist and never has)

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 portal skin for CILogon to log in authenticate with their chosen identity provider and get receive a CILogin certificate (which is currently valid for 24 18 hours). Your application will then use that client certificate when making calls to call the cn_Auth.login() method to get an AuthToken. any DataONE service methods that require authentication. That AuthToken then gets passed to each certificate is used when establishing the SSL connection with the DataONE method call. 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.