Defining an Authorization Token

Use

You use this procedure to create an authorization token for a protected business object and to assign authorization rules to the token. You can define a token for:

  • The entire class of a business object (without authorization rules) to provide controlled access to its business data

  • An instance of a business object (with authorization rules) to provide controlled access to a specific business data based on conditions

Prerequisites

You have:

  1. Protected the business object for which you want to define a token

  2. Defined the required authorization rule(s)

  3. Decided whether to provide a static value or dynamic values for the rules you have defined. If you have decided to provide dynamic values, you must define a variable for the required rule. For more information, see Defining an Authorization Variable.

Procedure

Creating a Token

  1. In the navigation bar, choose Start of the navigation pathBusiness Object Authorization Next navigation step Define TokensEnd of the navigation path .

    The Protected Business Objects tile appears.

  2. On the Protected Business Objects tile, select the specific business object for which you want to create a token.

  3. On the Available Tokens tile, right-click and choose New.

    A row for the new token appears.

  4. Enter a name and description for the token.

  5. Choose Start of the navigation pathData Next navigation step SaveEnd of the navigation path

Assigning an Authorization Rule to the Token

  1. In the navigation bar, choose Start of the navigation pathBusiness Object Authorization Next navigation step Define TokensEnd of the navigation path .

    The Protected Business Objects tile appears.

  2. On the Protected Business Objects tile, select the specific business object.

  3. On the Available Tokens tile, select the specific token for which you want to assign a rule.

  4. On the Assigned Authorization Rules tile, right-click and choose New.

    The Assigned Rules dialog box appears, displaying the authorization rules you defined earlier.

  5. Select the specific rule(s) you want to assign.

  6. Choose Select.

    The Assigned Authorization Rules tile displays the rule(s) you have selected.

  7. If you want to assign a variable for a rule, select a variable from the From Variable field.

Result

You have created a token and assigned authorization rule(s) to it.

You must now assign this token to a role. For more information, see Assigning an Authorization Token to an Authorization Role.