Basic Authentication
To support invoking of Oracle Integration flows secured with Basic Authentication, use the BASIC_AUTH managed security policy. You can customize the security policy as needed for a connection definition.
Overview
With HTTP basic authentication, the client sends HTTP requests with the
Authorization header that contains the word Basic followed by a space and a
Base64 encoded string that contains a user name and password in the following
format: username:password.
To add the Basic Authentication policy to your document, use the available authentication scheme template. See Implement a New Connection Definition.
Oracle uses Oracle Cloud Infrastructure Identity and Access Management (IAM) to authenticate requests for invoking integrations.
Security Properties
A connection definition that uses this
security policy defines the following properties in the
securityProperties section. See Connection Properties and Sample Code.
The values in the name,
displayName,
shortDescription, and
description columns list the default values
that appear when you insert a security policy into an adapter
definition document. You can update these values if needed.
| name | displayName | shortDescription | description | Data type | Required | Recommendation |
|---|---|---|---|---|---|---|
|
|
|
|
|
String |
No |
|
|
|
|
|
|
Password |
No |
|
Sample Code: Basic Authentication
"securityPolicies": [
{
"type": "managed",
"policy": "BASIC_AUTH",
"description": "Validate Basic Authentication token",
"displayName": "Basic Authentication",
"scope": "TRIGGER",
"securityProperties": [
{
"name": "username",
"hidden": true,
"required": false,
"default": "NA"
},
{
"name": "password",
"hidden": true,
"required": false,
"default": "NA"
}
]
}
]