Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
5 subscribers
Views
1231 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I have implemented a Smart Service plugin which calls a webservice. The webservi
rohitw
Certified Lead Developer
over 9 years ago
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
0
Shyam Bommakanti
Certified Lead Developer
over 9 years ago
Please ignore above comment. It was meant for another post. Sorry for the confusion.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Shyam Bommakanti
Certified Lead Developer
over 9 years ago
Please ignore above comment. It was meant for another post. Sorry for the confusion.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data