Skip to main content

Posts

Showing posts from 2010

My thoughts on Alfresco Developer Conference NYC, November 3-4

I just attended the Alfresco Developer Conference in NYC. I must say it was a lot of fun to see such a smart bunch in action. Conference had a lot of interesting sessions. I ended up mostly going to Spring Surf and Alfresco Share related sessions. The highlight of the conference for me was Activiti BPM Suite. This is a new project run by Tom Baeyens who was the founder of ever popular jPBM. The session I attended on  Activiti focused on Activiti being designed for developers as well as business people and system administrators. The quick demo showed that they have come a long way very quickly. The Activiti Modeler looked very promising. In the coming days I intend download and experiment with all of Activiti. You can find all about Activiti here  http://www.activiti.org/index.html

How to enable OSSOIdentityInserter

OSSOIdentityInserter provider by default is missing in WebLogic. To enable it, Stop WLS Admin Server Backup setDomainEnv.sh file (this file should be located in your $ORACLE_HOME/user_projects/domains/base_domain/bin directory) Edit setDomainEnv.sh, find all occurances of $ORACLE_HOME setting for weblogic.alternateTypesDirectory and replace them with $COMMON_COMPONENTS_HOME Start WLS Admin server. Once the WLS Admin server is restarted, you will see that OSSOIdentityInserter is available as a new provider in the list.

My Microsoft Tag

Integrating Oracle WebCenter with Oracle SSO Server 10g

These days I am working with Oracle 10g and 11g products. One of my projects is to stand up a new Oracle 11g WebCenter Spaces Portal that would integrate with the existing Oracle 10g Single Sign On Server which is backed by Oracle Internet Directory. For the integration to be successful, there are few configuration settings that need to be implemented on both of the environments. Here is an overview of the main tasks that need to be completed in order to achieve the integration. Upgrade Oracle 10g Infrastructure tier to supported version (as of this writing, Oracle 11g is certified to work with version 10.1.4.3+). upgrade to 10.1.4.0.1 upgrade to 10.1.4.3 apply interim bug fixing patches Configure Oracle 11g WebLogic authentication providers Configure OIDAuthenticator Configure OSSOIdentityAsserter Re-associate Policy domain with OID create a new jps root node change association Register Oracle 11g WebCenter OHS with Oracle 10g OSSO Server ssoreg.sh Configure mod_o

WebLogic start up failes after re-associating domain policy and credential store with OID 10.1.4.3

In my current project, I am working on some Oracle products including the new 11g Fusion Middleware components such as Oracle WebCenter, Oracle UCM, etc. The project involves integrated existing Oracle components such as Oracle Single Sign Server and Oracle Internet Directory with Oracle 11g Fusion Middleware applications. By default, Oracle WebCenter Spaces application is configured to use an embedded Ldap store for policy credentials which is not suitable for production environments. One of my tasks was to configure Oracle WebLogic and WebCenter Spaces application so that Policy and Credential Store would be hosted at an external Ldap store, in our case it was Oracle Internet Directory 10.1.4.3. This version of OID in our case was a patched version of OID from 10.1.2.3. We first patched it to version 10.1.4.0.1 and then applied other patches to bring the version to 10.1.4.3 which is the support version of OID by Oracle WebCenter Spaces. We followed the following documentation

Adding AD attributes to Alfresco User Profile

Alfresco is an enterprise content management solution. It can synchronize its user repository with Active Directory. When users are synchronized from Active Directory, Alfresco does not allow users to edit properties that are being synchronized with Active Directory. By default Alfresco synchronizes certain user attributes to Alfresco Person object properties. Some of these include users' first name and last name. If you want to include custom attributes you need to make sure that you set them up in the Alfresco configuration files.  There are different ways to modify and extend Alfresco. The safest way is to never touch any Alfresco properties in the WEB-INF/classes folder. They would get overridden when Alfresco is updated.  Alfresco recommends using Spring Beans to extend and override configuration. Here is a wiki page from Alfresco that talks about how to achieve this  http://wiki.alfresco.com/wiki/Alfresco_Subsystems#Spring_Beans . For the purposes of this article, I will

How to control Date formatting when Jackson JSON Processor is used with Spring 3.0

If you have not already checked out Spring 3.0, I highly recommend that you do. They have introduced lots of new features in this release. Rest support in Spring MVC and being able to output XML and JSON formatted strings out of the box are few new features of this release. I recently set up a simple web application to try out few of these features. This web application had a simple controller that was being exposed as a REST service. I configured Spring 3.0 to use ContentNegotiatingViewResolver (more to come on this on later posts). With this and the built in support for JSON, this simple controller was able output JSON string in no time. Spring 3 by default uses Jackson JSON from http://jackson.codehaus.org/ with a MappingJacksonJsonView. One of the data fields that was getting outputted was java.util.Date. Jackson uses default strategy to determine date formatting in serialization. If you go to Jackson's website, you will see that there are few different ways to change the f