My bad :(
I thought "public Dn( SchemaManager schemaManager, String... upRdns )" only
accepts pairs "XY=ASDFG"
sorry for the noise :(

On Fri, Sep 4, 2015 at 6:15 PM, Emmanuel Lécharny <[email protected]>
wrote:

> Le 04/09/15 14:09, Kiran Ayyagari a écrit :
> > On Fri, Sep 4, 2015 at 8:05 PM, Maxim Solodovnik <[email protected]>
> > wrote:
> >
> >> Here is the use case
> >> I read memberOf attributes of user (MS AD version), interpret it as
> String,
> >> and then need to parse it as Dn. Currently I can't use
> FastDnParser.parse
> >> and need to "re-invent the weel".
> >>
> > you can just create a DN using new Dn(dnStr)
> > and that internally parses it.
> >
> > The only downside of the above method is that the DN is not schema aware
>
> But once you have done that, you can iterate on the RDNs, then on the AVAs.
>
> Now, what exactly are you going to do with the parsed DN ? Isn't it
> enough to have a Dn instance ?
>



-- 
WBR
Maxim aka solomax

Reply via email to