Identify the piece of information you require for your functionality.

Creating PLSQL Portlets 8-27 return boolean is begin -- -- Portlet security check. It allows the portlet to be visible -- if the user is logged on, that is, the current session is not a -- public session. -- return wwctx_api.is_logged_on; end is_runnable; 6. In the register procedure, wwctx_api.get_nls_language is used to get the language: -- -- Create the names to store the portlet preferences. -- wwpre_api_name.create_name p_path = PORTLET_PATH || p_portlet_instance.reference_path, p_name = PREFNAME_STRING, p_description = Single custom row in || Introductory Example portlet., p_type_name = NLSID, p_language = wwctx_api.get_nls_language; wwpre_api_name.create_name p_path = PORTLET_PATH || p_portlet_instance.reference_path, p_name = PREFNAME_TITLE, p_description = Single custom row in || Introductory Example portlet., p_type_name = NLSID, p_language = wwctx_api.get_nls_language; 7. Close services_portlet.pkb. You can implement session context similarly but based upon your own functional requirements. 8. Optionally, if you want to see this portlet on a page and it is not already in the Portlet Repository, refer to the instructions in Section 8.3.2, Implementing the Provider Package for information on how to add it. 9. Once your portlet appears in the repository, you can add it to a page to test it. To add your portlet to a page, follow the instructions in Oracle Fusion Middleware Users Guide for Oracle Portal.

8.7 Implementing Portlet Security

Portlet security refers to the techniques and methods used by portlets to control their access by end users. The portlets leave authentication to Oracle Portal and trust that the portal will return them to the correct, validated user upon request. Oracle Portal strictly controls access to information and applications by assigning specific privileges to users and groups. Portal security services allow you to specify access control programmatically and check for the appropriate privileges at runtime. Security mechanisms used by portlets ensure that only authorized users gain access to these portlets. These security services are available through the wwsec_api package.