Skip to main content


Showing posts from July, 2011

How to Externally Generate WSRP Portlet Producer Package

In our recent project, we started working on creating WSRP portlets and deploying these portlets into Oracle WebLogic Server. As you can imagine JDeveloper integrates really well with the rest of the Oracle technology stack. You can use JDeveloper to directly deploy portlet application into remote application servers. During this process JDeveloper performs modification operations on the ear artifacts. It generates the necessary WSDL configuration for WSRP portlet deployments. You can find extensive Oracle documentation here that talks about creating portlets and deploying portlets with JDeveloper. One problem with this scenario is that JDeveloper must have access to remote application server. In our project, this is not possible. Therefore we needed to find way to quickly generate the same ear file with WSRP WSDL configuration. It turns out there is a jar utility that JDeveloper itself uses to generate the ear file and it is called wsrp-predeploy.jar. This jar utility is loca

Oracle Internet Directory plug-in to remove users from groups

Oracle Internet Directory is an LDAP compliant user directory. To my surprise I  recently found out that it does not remove membership attributes from groups when users get disabled. This is at least true for the version I am not sure if the behavior is different in the 11g version. This became an issue for us because the IT security department wanted to ensure that memberships were removed when users were disabled. Our solution was to basically create a plug-in and register the plug-in with OID. Oracle Identity Management Application Developers Guide located here  provides detailed information on how to extend the behavior of OID. This document has sections for building custom plug-ins and their deployment. I used their JAVA API to build this plug-in. Before I start sharing some code, here is some general information about the plug-in. 1. The plug-in will get executed whenever OID performs a modify operation. 2. The plug-in will determine if the modify operation inv