Administration Guide > OAuth Domain Administration > Defining Security Policies for Claims
 
Defining Security Policies for Claims
In order to access claim-specific data from the TDV published resources, Row Based and Column-Based Security policies must be defined. Refer to the chapter Managing Security for TDV Resources and Managing Column-Based Security for instructions on how to define these policies.
The following built-in procedures can be used to read the token while defining the Security policies:
hasClaim()
getClaim()
For example, if a customer “Apex Systems” is passing a token with the Claim name “customer” (the claim value of which will be “Apex Systems”, then in the Predicate Rule definition of a Row-Based Security rule, specifying the following will return the value “Apex Systems”:
CustomerName=getClaim(“customer”)
Refer to the Application Programming Interface Guide chapter Built-in Procedures for a description about these procedures.
Note: Prior to defining these policies, you must ensure that appropriate access rights have been given for the TDV resources for the Claim. You can do that in TDV Studio. For instructions on how to provide access to TDV Resources, refer to Rights and Privileges .