I have a scenario where we need to have seamless login between two repositories. For this approach we decided to use the concept of trusted repositories, wherein ticket generated for one repository would be accepted for logging into all the trusted repositories. I am facing a issue in this approach.
To enable this I have set the trust_by_default value set to true in dm_docbase_config. I have extended the authenticate component of the webtop instance and overridden the onInit() method. When the user clicks the other repository in the webtop the tickted would be generated. However the ticket generated by one of the trusted repository is not accepted by the other.
I am getting an exception when the Call - authenticate(m_strDocbase, m_strUsername,ticket, null) is made.
// I am getting the ticket from the current respository and using it for logging into the other trusted repository
m_strUsername=getCurrentLoginUsername();
String ticket = getDfSession().getLoginTicket();
authenticate(m_strDocbase, m_strUsername,ticket, null);
This is the exception that I am getting
Exception exception[DM_DOCBROKER_E_NO_SERVERS_FOR_DOCBASE]error: "The DocBroker running on host (hostname1213) does not know of a server for the specified docbase (DocDB)" [DM_DOCBROKER_E_REQUEST_FAILED_E]error: "The Docbroker request failed."Any solution to this issue will be of much help.
Thanks
Arun