CLI plugin using processWithSession which is passed the session as AbstractSession not using token in one command #1009
-
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
@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: