Table of Contents

Search

  1. Preface
  2. Introduction to Informatica MDM - Relate 360
  3. Linking Batch Data
  4. Tokenizing Batch Data
  5. Processing Streaming Data
  6. Creating Relationship Graph
  7. Loading Linked and Consolidated Data into Hive
  8. Searching Data
  9. Monitoring the Batch Jobs
  10. Troubleshooting
  11. Glossary

User Guide

User Guide

Authenticate Web Service

Authenticate Web Service

The Authenticate web service authenticates the user credentials that you specify in the web service request. After a successful authentication, the web service request returns an encoded authentication token that you can specify in the header of the subsequent web service requests. A web service request returns appropriate response only if the request contains a valid token or user credentials.
Use the Authenticate web service only if you have secured the RESTful web services.

Request URL

Use the GET method to run the Authenticate web service.
To run the Authenticate web service, use the following URL format:
http://<Host>:<Port>/<WAR File Name>/<Version Number>/<Configuration File Identifier>/Authenticate
For example:
http://localhost:8080/MDMBDRMSYS/
v5.0
/SYS/Authenticate

Request Header

Use the request header to specify the following headers:
Authorization
Type of authentication and the user credentials in the Base64 format. The RESTful web services use the HTTP basic authentication. Use the following format to specify the value for the
Authorization
header:
Basic <Encoded User Credentials>
Basic
indicates the HTTP basic authentication, and
Encoded User Credentials
indicates the Base64 format of the user name and password separated by a colon. For example,
Authorization: Basic dGVzdDpUZXN0
Accept
Format of the response. The supported response format is JSON. Specify
application/json
as the header value.

Sample Response

The following sample response shows the token generated after a successful authentication:
{ "timeTaken":0.134, "token":"AQIC5wM2LY4Sfczqyo9VO8tpm3qq7vDAsf3BB9nzatkh_S8.*AAJTSQACMDEAAlNLABI4MzAzMj EwNzMzODg0ODAxNTkAAlMxAAA.*" }
An authentication token is valid for the web service requests that use the same WAR file and host name as that of the Authenticate web service request.

0 COMMENTS

We’d like to hear from you!