You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ch...@lhsystems.com on 2005/08/17 16:05:27 UTC
[apacheds] passing information in environment
Hello,
I'm using a own BindHandler implementation. This implementation stores the clients remote address for further using in the authentication process.
But passing it in the environment is impossible, because AbstractContextFactory.getInitialContext( Hashtable env ) calls ContextFactoryService.getJndiContext( String principal, byte[] credential, String authentication, String rootDN ).
By doing so, parameters from environment are extracted and a own environment for the ServerLdapContext( ContextFactoryService service, Hashtable env ) constructor is build. This way I loose the information stored by my own BindHandler.
Can this process be changed, so that we call a ContextFactoryService.getJndiContext( Hashtable env ) and no new environment is created?
Best regards
Christian Hübert
Re: [apacheds] passing information in environment
Posted by Trustin Lee <tr...@gmail.com>.
Hello Christian,
We appologize for this late reply first of all.
Could you please post this issue to JIRA so that we can track it along with
other issues?
Here's the URL of the issue tracker:
issues.apache.org/jira/browse/DIREVE<http://issues.apache.org/jira/browse/DIREVE>
Thanks in advance,
Trustin
2005/8/17, christian.huebert@lhsystems.com <christian.huebert@lhsystems.com
>:
>
> Hello,
>
> I'm using a own BindHandler implementation. This implementation stores the
> clients remote address for further using in the authentication process.
>
> But passing it in the environment is impossible, because
> AbstractContextFactory.getInitialContext( Hashtable env ) calls
> ContextFactoryService.getJndiContext( String principal, byte[] credential,
> String authentication, String rootDN ).
>
> By doing so, parameters from environment are extracted and a own
> environment for the ServerLdapContext( ContextFactoryService service,
> Hashtable env ) constructor is build. This way I loose the information
> stored by my own BindHandler.
>
> Can this process be changed, so that we call a
> ContextFactoryService.getJndiContext( Hashtable env ) and no new
> environment is created?
>
> Best regards
> Christian Hübert
>
--
what we call human nature is actually human habit
--
http://gleamynode.net/