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
4 replies
Subscribers
5 subscribers
Views
2176 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi, In our project we have requirement, the UI are designed in .Net and whe
nikitar
over 10 years ago
Hi,
In our project we have requirement, the UI are designed in .Net and when the user login the task list from appian should be fetched and displayed in .Net UI.
For this we have written a servlet. When we trigger the servlet URL from the browser it will ask for credentials and when I give the credentials we are able to get the response from the servlet.
But when we are triggering the URL from .Net by passing credentials we are getting the html response of the Appian login page.
Could you please let me know how should we pass the credentials to Appian from .Net for accessing the servlet.
Thanks in Advance.
OriginalPostID-148872
OriginalPostID-148872
Discussion posts and replies are publicly visible
0
prestonb
over 10 years ago
When we deploy a servlet and want it be able to accessible without logging in, we add an entry to spring-security-02-unsecured-override.xml like this:
<sec:http pattern="/plugins/servlet/custom_servlet1/**" security="none"/>
So when you hit the URL /plugins/servlet/custom_servlet1 you will no longer get a login page. However, you are then responsible for implementing your own security on the servlet. Otherwise anybody could hit that URL and pull the data. We typically implement Basic Authentication and pass the credentials in the header.
This is on release 7.3 so things might be different in a modern version of Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohanp
over 10 years ago
Addition to preston comment:
forum.appian.com/.../
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nikitar
over 10 years ago
I have added an entry <sec:http pattern="/plugins/servlet/testAppianExample?reqType=getTaskList" security="none" />
in this path \\runtime_ear\\suite.ear\\web.war\\WEB-INF\\conf\\security\\spring-security-02-unsecured-override.xml, but it still asking for login.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Amitkumar
over 9 years ago
This is what i got from documentation, did you try this one?
1.Change the url-pattern element in the appian-plugin.xml to <url-pattern>/stateless/tasklist</url-pattern> to make the servlet a stateless servlet. This will cause the servlet to no longer require an authenticated session and instead will protect it using HTTP Basic authentication.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel