Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
6 replies
Answers
1 answer
Subscribers
6 subscribers
Views
5118 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
In Servlet plug-in, how can we get a SecureCredentialsStore object? F
rawich
over 8 years ago
In Servlet plug-in, how can we get a SecureCredentialsStore object?
From the document, injection of services is not yet supported for Servlet plug-in.
forum.appian.com/.../Custom_Servlet_Plug-ins.html
From Java API, the ServiceLocator doesn't have a method that return this service.
forum.appian.com/.../ServiceLocator.html
Thank you,
-Rawich
OriginalPostID-174725
OriginalPostID-174725
Discussion posts and replies are publicly visible
Parents
0
rawich
over 8 years ago
Since most of us are agile practitioners here, let me rephrase my need in the form of user story:
"As a Servlet plug-in developer, I want to have a consistence way to access credentials and other environment-specific configuration entires to integrate with a RESTful service so that I do not have to hard-code or manage a separate configuration file."
I am able to use Secure Credentials Store in both Smart Service and Function plug-ins, integrating with the same RESTful service. That works out nicely in getting user name, password, target hostname, and other configurable parameters setup in third-party credential page in Administrator console.
forum.appian.com/.../Secure_Credentials_Store.html
The calling process models or expressions just need to pass one string that identify external system key, instead of a long list of Constant values.
I’m open to other suggestions that would fulfill the same requirement, including an undocumented API :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rawich
over 8 years ago
Since most of us are agile practitioners here, let me rephrase my need in the form of user story:
"As a Servlet plug-in developer, I want to have a consistence way to access credentials and other environment-specific configuration entires to integrate with a RESTful service so that I do not have to hard-code or manage a separate configuration file."
I am able to use Secure Credentials Store in both Smart Service and Function plug-ins, integrating with the same RESTful service. That works out nicely in getting user name, password, target hostname, and other configurable parameters setup in third-party credential page in Administrator console.
forum.appian.com/.../Secure_Credentials_Store.html
The calling process models or expressions just need to pass one string that identify external system key, instead of a long list of Constant values.
I’m open to other suggestions that would fulfill the same requirement, including an undocumented API :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data