This repository was archived by the owner on Nov 13, 2023. It is now read-only.
CLI plugin using processWithSession which is passed the session as AbstractSession not using token in one command #1009
Answered by
davidkjackson54
Aug 5, 2023
Replies: 2 comments
|
@davidkjackson54 Is it possible to show the code for Since one behaves as expected and the other doesn't, I'd be curious to compare these two command definitions. |
0 replies
|
I have resolved this after walking the code in Imperative ConnectionPropsForSessCfg. It gave me some pointers as to what might be going on. It reminded me that some 2 years or so back, that I had specifically put code in to force my LOGON command to NOT use a token if it existed. as it had most likely expired and the purpose of the logon command was to acquire a new token. My code: |
0 replies
Answer selected by
t1m0thyj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment







@t1m0thyj
I have resolved this after walking the code in Imperative ConnectionPropsForSessCfg. It gave me some pointers as to what might be going on. It reminded me that some 2 years or so back, that I had specifically put code in to force my LOGON command to NOT use a token if it existed. as it had most likely expired and the purpose of the logon command was to acquire a new token.
My code: