@itentialopensource/adapter-utils 5.10.0 → 5.10.1
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/CHANGELOG.md
CHANGED
|
@@ -19,10 +19,11 @@ class AuthenticationHandler {
|
|
|
19
19
|
* Adapter Authentication Handler
|
|
20
20
|
* @constructor
|
|
21
21
|
*/
|
|
22
|
-
constructor(prongId, properties, reqH) {
|
|
22
|
+
constructor(prongId, properties, reqH, propUtilCl) {
|
|
23
23
|
this.myid = prongId;
|
|
24
24
|
this.allProps = properties;
|
|
25
25
|
this.requestHandlerInst = reqH;
|
|
26
|
+
this.propUtil = propUtilCl;
|
|
26
27
|
|
|
27
28
|
// set up the properties I care about
|
|
28
29
|
this.refreshProperties(properties);
|
|
@@ -101,7 +102,7 @@ class AuthenticationHandler {
|
|
|
101
102
|
// set the original AWS access information (from properties)
|
|
102
103
|
AWS.config.update(configObj);
|
|
103
104
|
const sts = new AWS.STS();
|
|
104
|
-
log.debug(`STS OPTIONS: ${JSON.stringify(configObj)}`);
|
|
105
|
+
log.debug(`STS OPTIONS: ${this.propUtil.scrubSensitiveInfo(JSON.stringify(configObj))}`);
|
|
105
106
|
|
|
106
107
|
// use STS to get the AWS access information for the user defined in STWS Params
|
|
107
108
|
const stsData = {
|
package/lib/requestHandler.js
CHANGED
|
@@ -466,7 +466,7 @@ class RequestHandler {
|
|
|
466
466
|
this.transUtil = new TransUtilCl(prongId, this.propUtil);
|
|
467
467
|
transUtilInst = this.transUtil;
|
|
468
468
|
|
|
469
|
-
this.authHandler = new AuthHandlerCl(this.myid, this.props, this);
|
|
469
|
+
this.authHandler = new AuthHandlerCl(this.myid, this.props, this, this.propUtil);
|
|
470
470
|
// validate the action files for the adapter
|
|
471
471
|
this.clean = walkThroughActionFiles(this.directory);
|
|
472
472
|
|
package/package.json
CHANGED
|
Binary file
|