directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: getClientAddress() does not provide remote connection info for anonymous connections
Date Sat, 20 Jul 2013 04:03:56 GMT
Le 7/20/13 2:22 AM, Ado Dao a écrit :
> Hi Emmanuel,
> thanks for your answer.
>
> From DefaultCoreSession.java:
> ...
> public SocketAddress getClientAddress()
> {
>  if ( ioSession != null )
>  {
>     return ioSession.getRemoteAddress();
>  } else     {
>     return null;
>  }
> }
> ...
>
>
> In Anonymous Mode is the IOSession == null. Only in Authentication Mode is the IOSession
!= null.

You are doing a search without a bind, I guess ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message