directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <>
Subject Re: [XBean] Any documentation on this stuff?
Date Fri, 09 May 2008 11:39:54 GMT

The XBean ContextFactory is not working properly it seems.  Emmanuel and I
have been dealing with the simple issue where we cannot get a Map injected
via standard Spring constructs into an LdapServer bean via the server.xml.
We've spent a few hours trying to mess with the different combinations.
Here's a snippet:

  <ldapServer id="ldapServer" ... >
    <!-- The list of supported authentication mechanisms.
      <s:entry key="SIMPLE">
      <s:entry key="CRAM-MD5">
        <cramMd5MechanismHandler directoryService="#directoryService"/>
      <s:entry key="DIGEST-MD5">
        <digestMd5MechanismHandler directoryService="#directoryService" />
      <s:entry key="GSSAPI">
        <gssapiMechanismHandler directoryService="#directoryService" />
      <s:entry key="NTLM">
        <ntlmMechanismHandler ntlmProviderFqcn="" />
      <s:entry key="GSS-SPNEGO">
        <ntlmMechanismHandler ntlmProviderFqcn="" />

We're trying to inject the saslMechanismHandlers Map property into a
LdapServer bean in the server.xml as seen above.  For some reason XBean is
just setting this property with an empty Map.  We have confirmed this.
Maybe this is due to the mixture of spring based tags with XBean custom
tags?  We could start stepping into the XBean code but wanted to ask you

Can you take a look at what's going on? It's either a trivial issue or a bug
in XBean.  If you're busy we understand, so if Emmanuel and I can get commit
access to XBean we can fix this so we're not hosed.

Please do something about this because we're here in this situation since we
bought into your idea to use XBean.  Don't leave us hanging here.


On Mon, May 5, 2008 at 3:21 AM, Alex Karasulu <> wrote:

> David,
> I've been spending an hour trying to find out how to do a map based
> property with XBean and there is no documentation at all.  Thought I'd find
> some here but no go:
> I'm trying to figure out how to set a property on a bean that is a Map.
> The Spring way does not seem to work within our xbean configuration so I'm
> at a loss without any direction on this stuff.
> Alex

View raw message