Implementation Guide for Oracle Self-Service E-Billing > Customizing the Customer Service Representative Application >
Using Impersonation with a Customer Service Application External to Oracle Self-Service E-Billing
Customer service representatives can impersonate a Billing and Payment application user directly from a customer service application external to Oracle Self-Service E-Billing, even though the external customer service representative users are not replicated in Oracle Self-Service E-Billing. For an external user to impersonate an Oracle Self-Service E-Billing user, an impersonation token is used as follows:
- An impersonation token must be passed in the impersonation URL.
- The impersonation token is different from an authentication token.
- To get the authenticated token, at least one Oracle Self-Service E-Billing customer service representative user must be enrolled, which can be used as a trusted user to access Oracle Self-Service E-Billing.
- Each generated token can be used only once in an HTTP request. If an impersonation HTTP request must be issued more than once, then the new RS token request must be issued as well.
To impersonate a Billing and Payment application user from an external customer service representative application
- Verify that the following installation and setup activities are complete:
- Use the trusted customer service representative user to receive the authenticated impersonation token. The external customer service representative application must invoke the following resource:
POST /rs/authentication/impersonation?csr_id=externalCSRId&target_user_id=ebillingUserId
where:
<credential>
<username>trustedUserName</username>
<password>trustedUserPwd</password>
</credential>
Replace the following values in the XML file:
<token>gI59AFXTa0p6XFgvMzPNOGMMNhYOhKKbcjGN0K8es6fYM5Po</token>
- Generate the following HTTP request from the external customer service application to the Oracle Self-Service E-Billing server to create a authenticated Web browser session for impersonation
https://$Hostname:$SSL_Port/$Application/impersonate?csrid=$CSR_UserID&userid=$User_ID&token=$Impersonation_Token
where:
- hostname is the name of the server where you installed the Billing and Payment application.
- SSL_port is the port number where you installed the Billing and Payment application.
- Application is the name of the Billing and Payment application.
- CSR_UserID is the user ID of the CSR performing the impersonation.
- Impersonation_Token is the impersonate token for this impersonate session.
|