Server Authentication

MATLAB® provides programmatic interfaces to these Web service interfaces.

  • RESTful (Representational state transfer)—Use the webread, webwrite, and websave functions in Web Access to read content from RESTful Web services.

  • HTTP (Hypertext Transfer Protocol)—Use the HTTP Interface API to implement advanced HTTP messaging semantics.

To use a proxy server, see Proxy Server Authentication.

Server Authentication For RESTful Web Services

NTLM and Kerberos are not supported on Linux® and macOS platforms.

Authentication

Platform

weboptions

weboptions Arguments

System Setup

Basic
Digest

Windows®
Linux
macOS

Required

Username and Password

N/A

NTLM

Windows

Optional

Do not specify Username or Password

Logged into Windows domain

Kerberos

Windows

Optional

Do not specify Username or Password

Logged into Kerberos domain

Server Authentication For HTTP Web Services

Kerberos is not supported on Linux and macOS platforms.

Server Authentication

Platform

matlab.net.http HTTPOptions Object

matlab.net.http Credentials Properties

System Setup

Basic
Digest

Windows
Linux
macOS

Credentials property

Username and Password

N/A

NTLM

Windows

Credentials property

Username and Password ignored

Logged into Windows domain

NTLM

Linux
macOS

Credentials property

Username and Password

N/A

Kerberos

Windows

Credentials property

Username and Password ignored

Logged into Kerberos domain

See Also

| |

Related Topics