KB0019641: How to Enable Web Service Calls with SSO in 2019.2 or Below
Applies to:
Ephesoft Transact 2019.2 or below
Issue:
How to make Web Service calls when Ephesoft is configured with SSO
Solution:
In 2019.2 and below, call to rest APIs works with basic authentication only and below steps needs to be followed for the same:
- Uncomment the security-constraint only for url-pattern /rest/* in web.xml.
- Uncomment the realm for LDAP/AD in server.xml as required.
- Skip the rest url from applicationContext-security.xml by adding <security:http pattern=”/rest/**” security=”none” />. This will remove the security from rest services and the request will not be sent to IDP for authentication and authorization.