@itentialopensource/adapter-alkira 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AUTH.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
## Authenticating Alkira Adapter
|
|
1
|
+
## Authenticating Alkira Adapter
|
|
2
2
|
|
|
3
|
-
This document will go through the steps for authenticating the Alkira adapter with Basic Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://www.itential.com/automation-platform/integrations/adapters-resources/authentication/" target="_blank">HERE</a>.
|
|
3
|
+
This document will go through the steps for authenticating the Alkira adapter with Basic Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://www.itential.com/automation-platform/integrations/adapters-resources/authentication/" target="_blank">HERE</a>.
|
|
4
4
|
|
|
5
5
|
### Basic Authentication
|
|
6
6
|
The Alkira adapter requires Basic Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
7
7
|
|
|
8
|
-
STEPS
|
|
8
|
+
STEPS
|
|
9
9
|
1. Ensure you have access to a Alkira server and that it is running
|
|
10
10
|
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
11
11
|
3. Use the properties below for the ```properties.authentication``` field
|
|
@@ -26,7 +26,33 @@ STEPS
|
|
|
26
26
|
"grant_type": ""
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
|
-
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
29
|
+
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Token Authentication
|
|
33
|
+
|
|
34
|
+
STEPS
|
|
35
|
+
1. Ensure you have access to a Alkira server and that it is running
|
|
36
|
+
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
37
|
+
3. Use the properties below for the ```properties.authentication``` field
|
|
38
|
+
```json
|
|
39
|
+
"authentication": {
|
|
40
|
+
"auth_method": "request_token",
|
|
41
|
+
"username": "<username>",
|
|
42
|
+
"password": "<password>",
|
|
43
|
+
"token": "",
|
|
44
|
+
"token_timeout": 1800000,
|
|
45
|
+
"token_cache": "local",
|
|
46
|
+
"invalid_token_error": 401,
|
|
47
|
+
"auth_field": "header.headers.Cookie",
|
|
48
|
+
"auth_field_format": "JSESSIONID={token};SESSION={tokenp2}",
|
|
49
|
+
"auth_logging": false,
|
|
50
|
+
"client_id": "",
|
|
51
|
+
"client_secret": "",
|
|
52
|
+
"grant_type": ""
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
30
56
|
|
|
31
57
|
### Troubleshooting
|
|
32
58
|
- Make sure you copied over the correct username and password.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.1.2 [12-21-2022]
|
|
3
|
+
|
|
4
|
+
* Updates to authentication schemas
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/cloud/adapter-alkira!1
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
2
10
|
## 0.1.1 [11-28-2022]
|
|
3
11
|
|
|
4
12
|
* Bug fixes and performance improvements
|
|
@@ -6,4 +14,3 @@
|
|
|
6
14
|
See commit c896979
|
|
7
15
|
|
|
8
16
|
---
|
|
9
|
-
|
|
@@ -41,12 +41,24 @@
|
|
|
41
41
|
"description": "token returned by system",
|
|
42
42
|
"parse": false,
|
|
43
43
|
"encode": false,
|
|
44
|
-
"placement": "
|
|
44
|
+
"placement": "HEADER",
|
|
45
45
|
"encrypt": {
|
|
46
46
|
"type": "AES",
|
|
47
47
|
"key": ""
|
|
48
48
|
},
|
|
49
|
-
"external_name": "
|
|
49
|
+
"external_name": "set-cookie.JSESSIONID"
|
|
50
|
+
},
|
|
51
|
+
"tokenp2": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "token returned by system",
|
|
54
|
+
"parse": false,
|
|
55
|
+
"encode": false,
|
|
56
|
+
"placement": "HEADER",
|
|
57
|
+
"encrypt": {
|
|
58
|
+
"type": "AES",
|
|
59
|
+
"key": ""
|
|
60
|
+
},
|
|
61
|
+
"external_name": "set-cookie.SESSION"
|
|
50
62
|
}
|
|
51
63
|
},
|
|
52
64
|
"definitions": {}
|
package/package.json
CHANGED
|
Binary file
|