attribute resolver issues after upgrade to v3

Robert A Basch rbasch at
Tue Aug 18 15:36:49 EDT 2015

On Aug 17, 2015, at 11:51 PM, Daniel Fisher <dfisher at> wrote:

> I believe JNDI strips spaces internally from the beginning and end of a filter, but it doesn't strip other forms of whitespace. So the following template would works as well:
>      <FilterTemplate>
>          <![CDATA[
>              #if (${attribute.isEmpty()} || ! ${attribute.get(0)})
>                <dummy filter guaranteed to return no results>#else
>                <"real" LDAP search filter>#end
>          ]]>
>      </FilterTemplate>
> --Daniel Fisher

Yes, it works if we strip just the newlines preceding the #else and #end

I created


More information about the users mailing list