Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Feb 7, 2017
1 parent e9ba553 commit ab6dee6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ else if (arg.equals("-printTLS"))
JcaESTServiceBuilder builder = null;
if (trustAnchors != null && !trustAnchors.isEmpty())
{
// In this case we have trusted anchors so create a builder for a client talking to a trusted server
builder = new JcaESTServiceBuilder(serverRootUrl, trustAnchors);
}
else
{
// In this case we do not have trust anchors so create a builder for a client talking to an untrusted server.
builder = new JcaESTServiceBuilder(serverRootUrl);
}

Expand Down

0 comments on commit ab6dee6

Please sign in to comment.