skip to main content
Using the driver : Using connection properties : Basic authentication properties
  

Try DataDirect Drivers Now

Basic authentication properties

The following table summarizes connection properties which are required for basic authentication.
Table 9. Authentication properties
Property
Characteristic
Determines which authentication method the driver uses during the course of a session.
If set to None, the driver does not attempt to authenticate.
If set to Basic, the driver uses a hashed value, based on the concatenation of the user name and password, for authentication. In addition to the User and Password properties, you must also configure the AuthHeader property if the name of your HTTP header is not Authorization (the default).
If set to Custom, the driver uses the custom token-based authentication flow that is defined in the input REST file.
If set to HttpHeader, the driver passes security tokens via HTTP headers for authentication. You must also configure SecurityToken property and, if the name of your HTTP header is not Authorization (the default), the AuthHeader property.
If set to OAuth2, the driver uses OAuth 2.0 to authenticate to REST endpoints.
If set to UrlParameter, the driver passes security tokens via the URL for authentication. You must also configure the AuthParam and SecurityToken properties.
The default is None.
Specifies the name of the HTTP header used for authentication. This property is used when Basic (AuthenticationMethod=Basic) or Header-based token authentication (AuthenticationMethod=HttpHeader) is enabled; otherwise, this property is ignored.
The default is Authorization.
Specifies the password to use to connect to your REST service. This property is ignored when AuthenticationMethod=None.
Specifies the user name that is used to connect to the REST service. A user name is required if user is enabled by your REST service. This property is ignored when AuthenticationMethod=None.