scimgateway
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -0,1 +1,3 @@ | ||
#!/usr/bin/env node | ||
// | ||
@@ -2,0 +4,0 @@ // ScimGateway plugin startup |
{ | ||
"name": "scimgateway", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "SCIM Gateway", | ||
@@ -8,2 +8,5 @@ "author": "Jarle Elshaug <jarle.elshaug@gmail.com> (http://elshaug.xyz)", | ||
"main": "index.js", | ||
"bin": { | ||
"scimgateway": "./index.js" | ||
}, | ||
"repository": { | ||
@@ -23,3 +26,3 @@ "type": "git", | ||
"engines": { | ||
"node": "4.2.4" | ||
"node": "6.8.0" | ||
}, | ||
@@ -26,0 +29,0 @@ "dependencies": { |
@@ -38,3 +38,3 @@ | ||
#### Install Node.js | ||
#### Install Node.js | ||
@@ -48,15 +48,30 @@ Node.js is a prerequisite and have to be installed on the server. | ||
Open a command window (run as administrator) | ||
mkdir C:\CA | ||
npm install scimgateway --prefix C:\CA | ||
rmdir C:\CA\etc | ||
We now have **C:\\CA\\node\_modules\\scimgateway** and this will be `<package-root>` | ||
npm install scimgateway --prefix C:\CA\npm | ||
Using --prefix to get dependencies under the scimgateway package | ||
We now have **C:\\CA\\npm\\node\_modules\\scimgateway** and this will be `<package-root>` | ||
If internet connection is blocked, we could install on another machine and copy the scimgateway folder. | ||
Using --prefix (the "global" way) to get dependencies under the scimgateway package | ||
If internet connection is blocked, we could install on another machine and copy the npm folder. | ||
We may also download scimgateway from [github](https://github.com/jelhub/scimgateway "github") and run `npm install` command in the `<package-root>` directory containing the package.json file | ||
#### Upgrade ScimGateway | ||
Not needed after a fresh install | ||
Check if newer versions are available: | ||
npm outdated --prefix C:\CA\npm | ||
Lists current, wanted and latest version | ||
No output on screen means we are running the latest version | ||
Upgrade to latest version: | ||
npm update scimgateway --prefix C:\CA\npm | ||
>Note, **update/install will replace scimgateway with original package**. Any custom plugins and configuration will be removed. Always backup/copy C:\\CA\\npm before upgrade. After upgrade we can restore missing custom plugins and configuration files. | ||
## Configuration | ||
@@ -140,8 +155,10 @@ | ||
`node C:\CA\node_modules\scimgateway` | ||
3 ways to start: | ||
or | ||
node C:\CA\npm\node_modules\scimgateway | ||
`<package-root>\node .` | ||
<package-root>node . | ||
C:\CA\npm\scimgateway.cmd | ||
<kbd>ctrl</kbd>+<kbd>c</kbd> to to stop | ||
@@ -167,3 +184,3 @@ | ||
Program/script = C:\Program Files\nodejs\node.exe | ||
Arguments = C:\CA\node_modules\scimgateway | ||
Arguments = C:\CA\npm\node_modules\scimgateway | ||
@@ -287,5 +304,11 @@ Settings - tab: | ||
CA Provisioning do not support SCIM Enterprise User Schema Extension (having attributes like employeeNumber, costCenter, organization, division, department and manager). If we need these or other attributes not found in CA Provisioning, we could define our own by using the free-text "type" definition in the multivalue entitlements or roles attribute. In the template entitlements definition we could for example define type=Company and set value to %UCOMP%. Please see plugin-forwardinc.js using Company as a multivalue "type" definition. | ||
CA Provisioning using default SCIM endpoint do not support SCIM Enterprise User Schema Extension (having attributes like employeeNumber, costCenter, organization, division, department and manager). If we need these or other attributes not found in CA Provisioning, we could define our own by using the free-text "type" definition in the multivalue entitlements or roles attribute. In the template entitlements definition we could for example define type=Company and set value to %UCOMP%. Please see plugin-forwardinc.js using Company as a multivalue "type" definition. | ||
Using CA Connector Xpress we could create a new SCIM endpoint type based on the original SCIM. We could then add/remove attributes and change from default assign "user to groups" to assign "groups to user". For project setup: | ||
* Datasource = Layer7 (CA API) - this is SCIM | ||
* Layer7 Base URL = ScimGateway url and port (SCIM Base URL) | ||
* Authentication = Base Authentication | ||
## Known limitations | ||
@@ -292,0 +315,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186583
2976
319