Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers


This function takes the following parameter:


Pointer to a am_resource_traits_t type containing data regarding a policy.

Note –

See am_resource_traits_t for more information.


Pointer to the name of the resource being protected.


Pointer to the name of the resource being requested.


Based on the boolean_t defined in the <am_types.h> header file, B_TRUE indicates that the function will consider occurrences of * in policy_resource_name as wild cards. If B_FALSE, occurrences of * are taken as a literal characters.

Note –

In cases of SUB_RESOURCE_MATCH and SUPER_RESOURCE_MATCH when usePatterns is B_TRUE, the patterns are sub or super matching patterns, respectively.