Case A Case B

3-12 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory 4 Understanding Oracle Virtual Directory Plug-Ins 4-1 4 Understanding Oracle Virtual Directory Plug-Ins This chapter describes Java plug-ins for Oracle Virtual Directory and includes the following topics: ■ What is a Plug-In? ■ Understanding the General Purpose Plug-Ins ■ Understanding the Enterprise User Security and Oracle Net Services Plug-Ins ■ Understanding the Microsoft Active Directory Plug-Ins ■ Understanding the Oracle Access Manager Plug-Ins 4.1 What is a Plug-In? Plug-ins allow you to extend Oracle Virtual Directory with compartmentalized functionality to meet specific business and technical requirements. You can use plug-ins to provide custom logic as part of a transaction or to connect to a custom data source. Oracle Virtual Directory supports two types of plug-ins: Java plug-ins and Python Mapping plug-ins. Oracle Virtual Directory includes several plug-ins for various purposes, including plug-ins for analysis, auditing, caching, and dynamic group presentation. You can also deploy plug-ins using different approaches and with full control over the positioning of the plug-in inside the virtual directory, including: ■ Stringing-together plug-ins to create combined and reusable functionality. ■ Deploying plug-ins at the global server level so the plug-in affects all requests and responses. ■ Deploying plug-ins at the adapter level so the plug-ins manipulate requests and responses for a particular adapter. Note: This chapter is specific to Java plug-ins for Oracle Virtual Directory, though from an operational perspective, Oracle Virtual Directory treats the two types of plug-ins equally. References to plug-ins in this chapter refer to Java plug-ins. See Chapter 5, Understanding Oracle Virtual Directory Mapping for information on mapping plug-ins. 4-2 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory For example, you can deploy the Cache plug-in to run only on a particular Microsoft Active Directory server and only after a mapping has been run to perform translation of the Active Directory user to the standard inetOrgPerson objectclass. Figure 4–1 shows the three layer architecture of the Oracle Virtual Directory plug-in framework: Figure 4–1 Oracle Virtual Directory Plug-In Framework Note: ■ To configure plug-ins at the global server level, select Advanced from the Oracle Directory Services Manager task selection bar and refer to Managing Global Server Plug-ins on page 13-4 for the complete steps in the process. ■ To configure plug-ins at the adapter level, select Adapter from the Oracle Directory Services Manager task selection bar and refer to Managing Adapter Plug-ins on page 13-1 for the complete steps in the process. LDAP Listener Plug-in W Plug-in X Plug-in Y Plug-in ... Global Service Interface Access Control Plug-in X Plug-in Y Plug-in ... Adapter Service Interface Router Plug-in W Plug-in A Plug-in Y Plug-in ... Client Global Plug-ins Adapter Plug-ins Source Data User Virtual Service Interface