Bookshelf Home | Contents | Index | PDF |
Web Services Reference for Oracle Self-Service E-Billing > Examples of Web Services > Examples of the Authentication Web Service > Example of Impersonating a UserThis example shows you how to use the impersonation Web service to return a valid impersonation token for a particular user. The token in the XML response must be passed as a parameter in subsequent REST services requests. OperationUse the following operation to impersonate a user:
Sample URLThe following is a sample URL for this Web service example: http://myhost.example.com:7017/ebillingrs/rs/authentication/impersonation RolesThe following roles are valid for this Web service example: Sample XML InputThe following is an example of XML input: <username>$trust_user_name</username> <password>$trust_user_password</password> XML ResponseThe following is an example of the XML response: <token> gI59AFXTa0p6XFgvMzPNOGMMNhYOhKKbcjGN0K8es6fYM5Po</token> |
Web Services Reference for Oracle Self-Service E-Billing | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |