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
5053 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
0
Eduardo Fuentes
Appian Employee
over 8 years ago
To my knowledge you cannot use the SCS with servlet plug-ins.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
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
0
Shyam Bommakanti
Certified Lead Developer
over 8 years ago
You want Appian to be the mediator.
Get from 3rd party to Appian to RESTful service all configured via Appian UI. Great idea.
I'm interested to find a solution. This would simplify complex integrations greatly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rawich
over 8 years ago
@shyamb, we're working on the integration to a content management system, built by extending Amazon S3 interface.
In a SAIL form, we call the plug-in function that perform a search for documents matching search criteria. The search results include document IDs, which then used to construct URLs to the Servlet plug-in, to download the documents. All of these happen in the SAIL form, without submitting it, and no document is stored in Appian, in this use case.
I'll update back, once we found a good solution.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Angel Rangel
over 6 years ago
in reply to
rawich
Did you find a solution? I also would like to use the SCS in a servlet due a integration need. Please let me know.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shyam Bommakanti
Certified Lead Developer
over 6 years ago
in reply to
Angel Rangel
I think you cannot still access SCS via custom servlet. But, you can use WebAPI along with a!scsField
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel