Saturday, January 14, 2012

[WSO2 Governance Registry ] "RemoteRegistry" API

Diagram 1.0


I had deployed WSO2 Governance Registry on Web Logic Application server as in the above diagram. After I tried to access the repository using the RemoteRegistry API.
But it failed to authenticate the remote client.

[java] Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Unauthorized
     [java]     at
     [java]     at
     [java]     ... 4 more
     [java] Java Result: 1


When the web application using a LDAP server other than Web Logic Server's embedded LDAP server, we need to change the default security configurations in Web Logic domain.

1) Open the config.xml file of WL domain.
2) Add the following tag in to <security-configuration>.