Property
|
Characteristic
|
Required Properties
|
|
AuthenticationMethod
|
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 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 UrlParameter, the driver passes security tokens via the URL for authentication. You must also configure the AuthParam and SecurityToken properties.
The default is None.
|
Config
|
Specifies the name and location of the input REST file that contains the list of endpoints to sample and paging configuration information. For example, C:/path/to/mysite.rest.
For more information on information on the REST file, see "Creating a REST File for Multiple End Points."
Note: The Config property determines whether the driver uses an input REST file for the session. If no value is provided, an endpoint must be provided using the Sample property.
|
Sample
|
Specifies the endpoint to connect to and sample.
Note: This option is required when not using an input REST file.
|
Password
|
Specifies the password used to access your endpoint.
|
User
|
Specifies the user name used to access your endpoint.
|
Optional Properties
|
|
AuthHeader
|
Specifies the name of the HTTP header used for authentication.
The default is Authorization.
|
CreateMap
|
Determines whether the driver creates the internal files required for a relational map of the native data when establishing a connection.
If set session, the driver uses memory to store the internal configuration information and relational map of native data. After the session, the view is discarded.
If set to forceNew, the driver deletes the current internal configuration files and relational map specified by the SchemaMap property and creates a new set at the same location.
If set to notExist, the driver uses the current internal files and relational map specified by the SchemaMap property. If the files do not exist, the driver creates them.
Default: session
|
SchemaMap
|
Specifies the directory where internal files and the relational map of native data data are written. The driver looks for this location when connecting to an endpoint. If these files do not exist, the driver creates them.
Windows default:
application_data_folder\Local\Progress\DataDirect\AutoREST_Schema\
UNIX/Linux default:
~/progress/datadirect/AutoREST_Schema/
|
ServerName
|
Specifies the host name portion of the HTTP endpoint to which you send requests. Specify this value if you want to define endpoints without storing the host name component in the REST file or Sample property.
|