I have implemented a Smart Service plugin which calls a webservice. The webservi

Certified Lead Developer
I have implemented a Smart Service plugin which calls a webservice. The webservice is secured by NTLM authentication. The plugin gets credentials from Secure Credential Store, creates instance of java.net.PasswordAuthentication() and sets it [using
Authenticator.setDefault(authenticator)] in the run() method of the plugin.

The issue is - Appian is somehow caching the first successful credentials and then never uses the latest configured credentials. It is correctly getting the latest parameters from Secure Credential Store (confirmed by logging them) until first successful authentication and then just ignores it afterwards (still gets the latest parameters but doesn't use it ). The Appian server needs to be restarted to clear the cache. Any pointers on this would be appreciated.

OriginalPostID-183746

OriginalPostID-183746

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data