You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Anupam Bhattacharya <an...@gmail.com> on 2013/06/27 14:00:59 UTC

How to use LDAP Authority with Documentum Repository connection

I configured a Documentum Repository connection with LDAP Authority
connection. I see that the documents are now getting indexed with prefix
similar to the LDAP Authority connection title(XYZ_LDAP).

e.g.  literal.allow_token_document
=XYZ_LDAP:DOCBASE%3Ag_elec_witness.dm_4500271180000532

But the ManifoldCFSearchComponent never authenticate users to show the
actual filtered results because the LDAP Authority never returns any token.
This I confirmed by checking the tokens using the following url

http://localhost:8080/mcf-authority-service/UserACLs?username={username}

Additionally If i configure a Documentum Authority connection also
configured in MCF then we will get the tokens but the format never match.

e.g.
XYZ_Documentum:DOCBASE%3Ag_elec_witness.dm_4500271180000532

Since the documents in SOLR indexes is indexed with prefix XYZ_LDAP &
Authority service returns tokens with Documentum specific Authority
connection i.e. XYZ_Documentum. Due to which the match is never made and
thus the ManifoldCFSearchComponent never work while trying to secure the
documents in SOLR repository.

It seems to be a bug. Pls. help me for a workaround on this problem.

Regards
Anupam

Re: How to use LDAP Authority with Documentum Repository connection

Posted by Karl Wright <da...@gmail.com>.
You can only use one authority at a time per repository connection.  When
you change an authority for the repository connection, you must reindex all
content associated with that connection in order for the access tokens in
the index to be updated.  Rerunning all the associated jobs will do that,
but you cannot expect to be able to change this on the fly without that
work.

Furthermore, the documentum repository connector works only with the
documentum authority, because the documentum access tokens are specific to
documentum.

Karl



On Thu, Jun 27, 2013 at 8:16 AM, Anupam Bhattacharya <an...@gmail.com>wrote:

> Thanks Karl,
>
> But intentionally I am trying to use LDAP group for authorization.
> Additionally in the repository connection setting under the Type tab the
> Authority connection is configurable by keeping the options in a drop-down
> list. Thus I thought this can be possible.
>
> Regards
> Anupam
>
>
> On Thu, Jun 27, 2013 at 5:34 PM, Karl Wright <da...@gmail.com> wrote:
>
>> Hi Anupam,
>>
>> Every repository connection has exactly ONE authority associated with
>> it.  Only tokens from that authority will match documents indexed with that
>> repository connection.
>>
>> You are getting a mismatch because you pointed your Documentum repository
>> connection at the LDAP authority.  You need to change it to point to the
>> Documentum authority, and then reindex.
>>
>> Thanks,
>> Karl
>>
>>
>>
>> On Thu, Jun 27, 2013 at 8:00 AM, Anupam Bhattacharya <anupamb82@gmail.com
>> > wrote:
>>
>>> I configured a Documentum Repository connection with LDAP Authority
>>> connection. I see that the documents are now getting indexed with prefix
>>> similar to the LDAP Authority connection title(XYZ_LDAP).
>>>
>>> e.g.  literal.allow_token_document
>>> =XYZ_LDAP:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>>>
>>> But the ManifoldCFSearchComponent never authenticate users to show the
>>> actual filtered results because the LDAP Authority never returns any token.
>>> This I confirmed by checking the tokens using the following url
>>>
>>> http://localhost:8080/mcf-authority-service/UserACLs?username={username}
>>>
>>> Additionally If i configure a Documentum Authority connection also
>>> configured in MCF then we will get the tokens but the format never match.
>>>
>>> e.g.
>>> XYZ_Documentum:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>>>
>>> Since the documents in SOLR indexes is indexed with prefix XYZ_LDAP &
>>> Authority service returns tokens with Documentum specific Authority
>>> connection i.e. XYZ_Documentum. Due to which the match is never made and
>>> thus the ManifoldCFSearchComponent never work while trying to secure the
>>> documents in SOLR repository.
>>>
>>> It seems to be a bug. Pls. help me for a workaround on this problem.
>>>
>>> Regards
>>> Anupam
>>>
>>
>>
>
>
> --
> Thanks & Regards
> Anupam Bhattacharya
>
>

Re: How to use LDAP Authority with Documentum Repository connection

Posted by Anupam Bhattacharya <an...@gmail.com>.
Thanks Karl,

But intentionally I am trying to use LDAP group for authorization.
Additionally in the repository connection setting under the Type tab the
Authority connection is configurable by keeping the options in a drop-down
list. Thus I thought this can be possible.

Regards
Anupam


On Thu, Jun 27, 2013 at 5:34 PM, Karl Wright <da...@gmail.com> wrote:

> Hi Anupam,
>
> Every repository connection has exactly ONE authority associated with it.
> Only tokens from that authority will match documents indexed with that
> repository connection.
>
> You are getting a mismatch because you pointed your Documentum repository
> connection at the LDAP authority.  You need to change it to point to the
> Documentum authority, and then reindex.
>
> Thanks,
> Karl
>
>
>
> On Thu, Jun 27, 2013 at 8:00 AM, Anupam Bhattacharya <an...@gmail.com>wrote:
>
>> I configured a Documentum Repository connection with LDAP Authority
>> connection. I see that the documents are now getting indexed with prefix
>> similar to the LDAP Authority connection title(XYZ_LDAP).
>>
>> e.g.  literal.allow_token_document
>> =XYZ_LDAP:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>>
>> But the ManifoldCFSearchComponent never authenticate users to show the
>> actual filtered results because the LDAP Authority never returns any token.
>> This I confirmed by checking the tokens using the following url
>>
>> http://localhost:8080/mcf-authority-service/UserACLs?username={username}
>>
>> Additionally If i configure a Documentum Authority connection also
>> configured in MCF then we will get the tokens but the format never match.
>>
>> e.g.
>> XYZ_Documentum:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>>
>> Since the documents in SOLR indexes is indexed with prefix XYZ_LDAP &
>> Authority service returns tokens with Documentum specific Authority
>> connection i.e. XYZ_Documentum. Due to which the match is never made and
>> thus the ManifoldCFSearchComponent never work while trying to secure the
>> documents in SOLR repository.
>>
>> It seems to be a bug. Pls. help me for a workaround on this problem.
>>
>> Regards
>> Anupam
>>
>
>


-- 
Thanks & Regards
Anupam Bhattacharya

Re: How to use LDAP Authority with Documentum Repository connection

Posted by Karl Wright <da...@gmail.com>.
Hi Anupam,

Every repository connection has exactly ONE authority associated with it.
Only tokens from that authority will match documents indexed with that
repository connection.

You are getting a mismatch because you pointed your Documentum repository
connection at the LDAP authority.  You need to change it to point to the
Documentum authority, and then reindex.

Thanks,
Karl



On Thu, Jun 27, 2013 at 8:00 AM, Anupam Bhattacharya <an...@gmail.com>wrote:

> I configured a Documentum Repository connection with LDAP Authority
> connection. I see that the documents are now getting indexed with prefix
> similar to the LDAP Authority connection title(XYZ_LDAP).
>
> e.g.  literal.allow_token_document
> =XYZ_LDAP:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>
> But the ManifoldCFSearchComponent never authenticate users to show the
> actual filtered results because the LDAP Authority never returns any token.
> This I confirmed by checking the tokens using the following url
>
> http://localhost:8080/mcf-authority-service/UserACLs?username={username}
>
> Additionally If i configure a Documentum Authority connection also
> configured in MCF then we will get the tokens but the format never match.
>
> e.g.
> XYZ_Documentum:DOCBASE%3Ag_elec_witness.dm_4500271180000532
>
> Since the documents in SOLR indexes is indexed with prefix XYZ_LDAP &
> Authority service returns tokens with Documentum specific Authority
> connection i.e. XYZ_Documentum. Due to which the match is never made and
> thus the ManifoldCFSearchComponent never work while trying to secure the
> documents in SOLR repository.
>
> It seems to be a bug. Pls. help me for a workaround on this problem.
>
> Regards
> Anupam
>