[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openam
Subject:    Re: [OpenAM] Doing search via datastore programmatically
From:       Long Man <longman () barramandi ! com>
Date:       2017-11-01 7:36:16
Message-ID: CA+bvQzYrZSbq0N08GOGTjt3wDFpkKzSrdv1cUhHDses2rAGBRQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks Peter.
I'm looking for something that allows me to freely do any LDAP search with
my own search filter instead of just a limited list of identity types like
in the AMIdentityRepository.
The idea is to re-use the datastore connection pool rather than to
re-establish another set of connections wasting resources.

Regards,
BL

On Tue, Oct 31, 2017 at 7:24 PM, Peter Major <peter.major@forgerock.com>
wrote:

> If you just want to retrieve the user's identity, then use
> IdUtils#getIdentity with the ssotoken.
> For more complex use-cases have a look at the com.sun.identity.idm
> package, start with AMIdentityRepository.
>
> cheers,
> Peter
>
> 2017. 10. 31. 11:00 keltez=C3=A9ssel, Long Man =C3=ADrta:
> > What is the best way to call the datastore to do a search with a custom
> > response/post auth class with new OpenAM versions ie. v13?
> >
> > Seems DirectoryManagerImpl was deprecated way back at 10.x.
> >
> > Thanks.
> > BL
> _______________________________________________
> Visit the OpenAM forum at https://forgerock.org/forum/fr-projects/openam/
> OpenAM mailing list
> OpenAM@forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openam
>

[Attachment #5 (text/html)]

<div dir="ltr">Thanks Peter.<div>I&#39;m looking for something that allows me to \
freely do any LDAP search with my own search filter instead of just a limited list of \
identity types like in the AMIdentityRepository.</div><div>The idea is to re-use the \
datastore connection pool rather than to re-establish another set of connections \
wasting resources.</div><div><br></div><div>Regards,</div><div>BL</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 7:24 PM, \
Peter Major <span dir="ltr">&lt;<a href="mailto:peter.major@forgerock.com" \
target="_blank">peter.major@forgerock.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">If you just want to retrieve the user&#39;s identity, then \
use<br> IdUtils#getIdentity with the ssotoken.<br>
For more complex use-cases have a look at the com.sun.identity.idm<br>
package, start with AMIdentityRepository.<br>
<br>
cheers,<br>
Peter<br>
<div><div class="h5"><br>
<a href="tel:2017.%2010.%2031.%2011" value="+12017103111">2017. 10. 31. 11</a>:00 \
keltezéssel, Long Man írta:<br> &gt; What is the best way to call the datastore to \
do a search with a custom<br> &gt; response/post auth class with new OpenAM versions \
ie. v13?<br> &gt;<br>
&gt; Seems DirectoryManagerImpl was deprecated way back at 10.x.<br>
&gt;<br>
&gt; Thanks.<br>
&gt; BL<br>
</div></div>______________________________<wbr>_________________<br>
Visit the OpenAM forum at <a href="https://forgerock.org/forum/fr-projects/openam/" \
rel="noreferrer" target="_blank">https://forgerock.org/forum/<wbr>fr-projects/openam/</a><br>
 OpenAM mailing list<br>
<a href="mailto:OpenAM@forgerock.org">OpenAM@forgerock.org</a><br>
<a href="https://lists.forgerock.org/mailman/listinfo/openam" rel="noreferrer" \
target="_blank">https://lists.forgerock.org/<wbr>mailman/listinfo/openam</a><br> \
</blockquote></div><br></div>



_______________________________________________
Visit the OpenAM forum at https://forgerock.org/forum/fr-projects/openam/
OpenAM mailing list
OpenAM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/openam


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic