It is common to forget the complete user ID when performing query or lookup on a particular user. One convenient feature is to provide a popup-style user search page to assist the user.
For that purpose, DAS provides service units for searching and selecting users or groups. These service units are sometimes referred to as user or group List Of Values (LOV).
In DAS, the search page for users is called the User Search-And-Select page.
When a custom application needs to invoke an OID DAS function that sends data back to the custom application, we need to use HTTP instead of JavaScript. In order to accomplish this, the custom application invokes the OID DAS function with a callback parameter. The callback parameter is an HTTP URL in the domain of the custom application.
Note:
Since the Java scripts have the security restrictions, data passing across the domains is not possible. Due to this limitation, only the pages in the same domain can access the Oracle
Delegated Administration Services LOV units.
All DAS partner applications should be Single Sign-On enabled, so that user needs not to authenticate him or herself every time he or she performs a Search-And-Select operation.
I. How to invoke Search-and-Select LOV Units for Users or Groups?
A custom application can open a popup window and populate its contents by supplying a search-and-select URL for a user or group by using a URL of the form:
http://das_host:das_port/oiddas/ui/oracle/ldap/das/search/LOVUserSearch
?title=User&callbackurl=http://app_host:app_port/custapp/Callback
or
http://das_host:das_port/oiddas/ui/oracle/ldap/das/search/LOVGroupSearch
?title=User&callbackurl=http://app_host:app_port/custapp/Callback
II. Receiving Data from the User or Group Search-and-Select Service Units
After a User or Group has been selected via the Oracle Internet Directory DAS User or Group Search-and-Select Service Unit, an HTTP form will be submitted to the callbackurl page using the POST method.
The callbackurl page in the popup window may transfer the form parameters to the invoking page in the opener window using JavaScript. It may then close the popup window.
Hi, I have a question: in Portal's Administer tab, when click the Search user button (Edit/Delete User), a Search and Select popup window while happen. How to change this popup window's callback URL? (not use the default callback URL)
ReplyDelete