Hello, I have been looking at using an Event Listener as described in Chapter 25's opening comments (to minimise cloud resources for costs saving).
However, after looking at the docs and API data structures, the one thing missing is information on the selected connection (i.e it's name, like say "ssh test1" or "RDP test1"). >From what I understand a custom authentication extension can return the list >of allow connections, so that is fine. But I cannot use this then to control >resources as the connection to use hasn't been selected. The Listener can see events (i.e. tunnelstart) that contains information on the user and the associated tunnel. But that AuthenticatedUser object, doesn't have any information of the currently selected connection ( i.e. getAuthenticationProvider() -> getUserContext() -> getActiveConnectionDirectory() is empty), I can see the list of allowed connections via getConnectionDirectory(), but not the currently select connection . I'm new to this list, but searching/googling hasn't provided any information. Am I missing something? thanks for any help John The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and / or privileged material that may be governed by confidential information provisions contained in the agreement between GBST and your company. Any disclosure, copying, distribution, or other use without the express consent of the sender is prohibited. If you received this in error, please contact the sender and delete the material from any computer. All rights in the information transmitted, including copyright, are reserved. Nothing in this message should be interpreted as a digital signature that can be used to authenticate a document. No warranty is given by the sender that any attachments to this email are free from viruses or other defects.
