Description
This plugin helps find existing aliases from Security Material and Key Store.
It was wished for in #151
Steps
An Event Listener is added for the click events when CPI Helper is rendered and the plugin has been activated
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
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'
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
If the item is selected it won't be entered into the input field. Sometimes it randomly works but if the adapter is closed it is gone.
I'm not a Frontend Developer, so you can assume that it is very practical and not too good looking. It is also a bit bugged and offset especially when something is set as configured parameter e.g. {{credentialname}}.
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):
Description This plugin helps find existing aliases from Security Material and Key Store. It was wished for in #151
Steps
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):