opentdf / java-sdk

OpenTDF Java SDK
0 stars 0 forks source link

fix(sdk): allow SDK to handle protocols in addresses #70

Closed mkleene closed 1 month ago

mkleene commented 1 month ago

TDFs contain embedded URLs, some of which contain protocols. In order for them to work with GRPC we need to strip off the protocol.

The logic for ports is to use one if it is specified, otherwise we use 80 if the protocol is http, otherwise use 443.