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

Details

am_policy_get_url_resource_root() populates the resource_root pointer with the extracted information. For example, http://www.sun.com/index.html will return http://www.sun.com/ and http://www.sun.com:8080/index.html will return http://www.sun.com:8080/.