Question

2
Replies
56
Views
ChrisF Member since 2016 7 posts
Radial
Posted: April 25, 2018
Last activity: May 3, 2018
Closed

Multiple Credential Sets Per Adapter / Accessing Adapter's CredentialCollection Properties At Runtime

Setup:

Our project has adapters that are shared for multiple instances of that site. So Adapter X is used on sites A, B and C, depending on the current brand. The objects (including the login controls) are shared between all sites (generic match rules). Each of these sites may have a different set of credentials.

Issue:

Users can potentially access site A then site C, requiring different credentials for each site. Since the controls are shared, there is no way to tell the adapter which set of credentials to use when the control is created. I was hoping for a domain restriction on the credential set itself, but the RequiresDomain seems to be used to toggle the option for additional login data. We'd prefer not to have to interrogate each adapter's login page sites uniquely.

Proposed Workaround:

Our idea was to add a credential set for each brand, flip them all to AutoFillOnCreate = False, and then on brand change toggle the target credential set to AutoFillOnCreate = True when that brand is enabled.

Proposed setup (Site B uses same controls)

Question:

Is there any documentation on writing custom scripts to access the adapter's credential collections (the collection or methods to work with the collection are not exposed at the adapter level), or is there an alternate approach that could work for this setup?

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn