dbeck121 / CPI-Helper-Chrome-Extension

56 stars 19 forks source link

Plugin Credential Helper #168

Closed DevGregor closed 5 months ago

DevGregor commented 5 months ago

Description This plugin helps find existing aliases from Security Material and Key Store. It was wished for in #151

Steps

  1. An Event Listener is added for the click events when CPI Helper is rendered and the plugin has been activated
  2. If an input field for credentials is clicked it will get all the aliases from the Security Material and Key Store and add a new Event Listener for typing to that input field. The credential input field is distinguished by checking parts of the id
  3. Each letter that is typed will be compared to the list of aliases by using the include() function and toLowerCase(). E.g. typing 'test' will trigger 4 checks with the following strings: 't', 'te', 'tes' and 'test'
  4. A dropdown will be added containing a div element for every matching alias. If there is no matching alias, a single item will be displayed, indicating that there are no matching aliases.

Issues

Info I have tested this in both CF and Neo and it works for the following adapters with every auth type that you can choose and also every "sub" version (e.g. OData -> V2/V4 or SOAP -> SOAP 1.X/SAP RM):

DevGregor commented 5 months ago

wrong branch