Setting up HTTP and HTTPS security

If the HTTP server that hosts the web service uses Basic HTTP authentication, you must supply a user ID and password with the web service request.

If the HTTP server uses an HTTPS connection, you have two choices for authenticating the server:

  • Trust the server implicitly.
  • Trust the server if its public key certificate is stored in a local keystore file.

For more information about setting up credentials and policies, see Setting up Security Properties.