Authentication and Web Services
This presentation is part of the Authentication Overview Self-Study Course.
Transcript
Web services can be used to establish application-to-application connections and to exchange messages. Authentication of Web Services can be configured to be handled in one of two ways: 1) by the container or 2) by PegaRULES.
When using container-managed security, the container (i.e., the application server) handles the authentication. There is an example WebSOAPContainerAuth Servlet definition in the web.xml file you can find in the PegaRULES distribution media that shows the requisite configuration.
Alternatively, PRPC can authenticate incoming web services requestors. The PRSOSAPServlet that manages all incoming web services requests will challenge the requestor for username and password and authenticate incoming requests with the PegaRULES security database. The user credentials can be passed to the PRSOAPServlet in one of 3 ways: 1) in the HTTP header, 2) in the SOAP envelope header, or 3) in the SOAP envelope body.
The Web Services must be configured as "stateful" in order for the PRSOAPServlet to authenticate requestors.