Project

General

Profile

Task #2650

Story #2645: Session handling in java service api

add a D1Node constructor that takes a Session object

Added by Rob Nahf almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Start date:
2012-04-26
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

to support non-defaulting certificate management.

Will also need to refactor the session-less methods to pass something other than a null Session to get the default behavior (now that there are 2 defaults...). For backwards compatibility, a null Session passed into the deprecated methods needs to pass null to the CertificateManager. The newer methods will need to pass something else (like a Session where the subject is a new symbolic principle, or a subclassed Session object like SymbolicSession) to make use of the session object supplied at object creation.

History

#1 Updated by Rob Nahf almost 12 years ago

  • Status changed from New to Closed

implemented new constructors and refactored the session-less methods to use a 'symbolic' Session instead of null when passing arguments to the deprecated methods, and created a determineSession() method to encapsulate the logic for which session to pass to the underlying D1RestClient.

Anticipate that the logic can be simplified when the deprecated methods are removed.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)