Attribute collection service

The attribute collection service is a Representational State Transfer (REST) service. It can collect web browser and location information from the user for calculating the risk score.

Process overview

The following process describes the attribute collection service and how to use it:

  1. Make REST calls to store and delete attributes in the database. The initial request to the service receives a correlation ID. The correlation ID is used to make further REST calls.
  2. Use JavaScript to collect the web browser attributes. We can place the HTML page that calls the JavaScript functions on any server.

    • Ajax collects information in the background. It does not slow down page loading.

    • We can make standard Ajax requests only to the same domain. With Cross Origin Resource Sharing (CORS), we can make Ajax requests across domains.
    • The CORS response header contains the settings for the following specifications:

      • The server from which requests are accepted.
      • The types of requests that are accepted.

Attributes configured as session attributes are collected automatically by the info.js file for risk score calculation.

Request types

GET and POST requests create a correlation ID to identify the session in the database. A correlation ID is a UUID stored in a cookie. The attribute collection service process uses the following request types:

Risk-based access runtime properties

Use the local management interface to configure the risk-based access properties that are required for attribute collection service.

The following properties specify information about the attribute collection service:

JavaScript functions

Use the JavaScript functions in the C/ac/info.js file to make requests to the server. Include the info.js JavaScript file in the HTML landing page of your application. When info.js is loaded, it calls the following functions:

For the JavaScript functions to work in Microsoft Internet Explorer, include the following statement in the HTML page from which you call the function. The following statement forces Microsoft Internet Explorer to use the standards mode:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
     "http://www.w3.org/TR/html4/loose.dtd">

For configuration steps and examples, see Configure the attribute collection service.

Parent topic: Advanced Access Control administration