You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Pierre-Arnaud Marcelot <pa...@marcelot.net> on 2008/09/17 10:08:59 UTC

Re: svn commit: r680778 - /directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml

Hi Alex,

I'm currently reviewing the modifications that has been made to the
server.xml file between versions 1.5.3 and 1.5.4.

Is this normal that the ReferralInterceptor has been removed from the
configuration ?
==============================================================================
---
directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
(original)
+++
directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
Tue Jul 29 10:14:30 2008
@@ -92,7 +92,6 @@
    <interceptors>
      <normalizationInterceptor/>
      <authenticationInterceptor/>
-      <referralInterceptor/>
      <aciAuthorizationInterceptor/>
      <defaultAuthorizationInterceptor/>
      <exceptionInterceptor/>

Thanks,
Pierre-Arnaud


On Tue, Jul 29, 2008 at 7:14 PM, <ak...@apache.org> wrote:

> Author: akarasulu
> Date: Tue Jul 29 10:14:30 2008
> New Revision: 680778
>
> URL: http://svn.apache.org/viewvc?rev=680778&view=rev
> Log:
> fixing recent changes that broke the config: removed referral interceptor
> and injected properties on sasl mechanism handlers
>
> Modified:
>
>  directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
>
> Modified:
> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
> URL:
> http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml?rev=680778&r1=680777&r2=680778&view=diff
>
> ==============================================================================
> ---
> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
> (original)
> +++
> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
> Tue Jul 29 10:14:30 2008
> @@ -92,7 +92,6 @@
>     <interceptors>
>       <normalizationInterceptor/>
>       <authenticationInterceptor/>
> -      <referralInterceptor/>
>       <aciAuthorizationInterceptor/>
>       <defaultAuthorizationInterceptor/>
>       <exceptionInterceptor/>
> @@ -177,9 +176,9 @@
>     <!-- The list of supported authentication mechanisms.
> -->
>     <saslMechanismHandlers>
>       <simpleMechanismHandler mech-name="SIMPLE"/>
> -      <cramMd5MechanismHandler mech-name="CRAM-MD5"
> directoryService="#directoryService"/>
> -      <digestMd5MechanismHandler mech-name="DIGEST-MD5"
> directoryService="#directoryService"/>
> -      <gssapiMechanismHandler mech-name="GSSAPI"
> directoryService="#directoryService"/>
> +      <cramMd5MechanismHandler mech-name="CRAM-MD5" />
> +      <digestMd5MechanismHandler mech-name="DIGEST-MD5" />
> +      <gssapiMechanismHandler mech-name="GSSAPI" />
>       <ntlmMechanismHandler mech-name="NTLM"
> ntlmProviderFqcn="com.foo.Bar"/>
>       <ntlmMechanismHandler mech-name="GSS-SPNEGO"
> ntlmProviderFqcn="com.foo.Bar"/>
>     </saslMechanismHandlers>
>
>
>

Re: svn commit: r680778 - /directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi again,

One other thing.

I think this part of the server.xml file (at the end) can be dropped (for
version 1.5.5), as we've removed the contextEntry Attributes from the server
configuration:
==============================================================================
  <!-- another bean I didn't convert -->
  <spring:bean
class="org.springframework.beans.factory.config.CustomEditorConfigurer">
    <spring:property name="customEditors">
      <spring:map>
        <spring:entry key="javax.naming.directory.Attributes">
          <spring:bean
class="org.apache.directory.server.core.configuration.AttributesPropertyEditor"/>
        </spring:entry>
      </spring:map>
    </spring:property>
  </spring:bean>
==============================================================================

WDYT ?

P-A

On Wed, Sep 17, 2008 at 10:08 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Hi Alex,
>
> I'm currently reviewing the modifications that has been made to the
> server.xml file between versions 1.5.3 and 1.5.4.
>
> Is this normal that the ReferralInterceptor has been removed from the
> configuration ?
>
> ==============================================================================
> ---
> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
> (original)
> +++
> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
> Tue Jul 29 10:14:30 2008
> @@ -92,7 +92,6 @@
>     <interceptors>
>       <normalizationInterceptor/>
>       <authenticationInterceptor/>
> -      <referralInterceptor/>
>       <aciAuthorizationInterceptor/>
>       <defaultAuthorizationInterceptor/>
>       <exceptionInterceptor/>
>
> Thanks,
> Pierre-Arnaud
>
>
> On Tue, Jul 29, 2008 at 7:14 PM, <ak...@apache.org> wrote:
>
>> Author: akarasulu
>> Date: Tue Jul 29 10:14:30 2008
>> New Revision: 680778
>>
>> URL: http://svn.apache.org/viewvc?rev=680778&view=rev
>> Log:
>> fixing recent changes that broke the config: removed referral interceptor
>> and injected properties on sasl mechanism handlers
>>
>> Modified:
>>
>>  directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
>>
>> Modified:
>> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
>> URL:
>> http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml?rev=680778&r1=680777&r2=680778&view=diff
>>
>> ==============================================================================
>> ---
>> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
>> (original)
>> +++
>> directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml
>> Tue Jul 29 10:14:30 2008
>> @@ -92,7 +92,6 @@
>>     <interceptors>
>>       <normalizationInterceptor/>
>>       <authenticationInterceptor/>
>> -      <referralInterceptor/>
>>       <aciAuthorizationInterceptor/>
>>       <defaultAuthorizationInterceptor/>
>>       <exceptionInterceptor/>
>> @@ -177,9 +176,9 @@
>>     <!-- The list of supported authentication mechanisms.
>>   -->
>>     <saslMechanismHandlers>
>>       <simpleMechanismHandler mech-name="SIMPLE"/>
>> -      <cramMd5MechanismHandler mech-name="CRAM-MD5"
>> directoryService="#directoryService"/>
>> -      <digestMd5MechanismHandler mech-name="DIGEST-MD5"
>> directoryService="#directoryService"/>
>> -      <gssapiMechanismHandler mech-name="GSSAPI"
>> directoryService="#directoryService"/>
>> +      <cramMd5MechanismHandler mech-name="CRAM-MD5" />
>> +      <digestMd5MechanismHandler mech-name="DIGEST-MD5" />
>> +      <gssapiMechanismHandler mech-name="GSSAPI" />
>>       <ntlmMechanismHandler mech-name="NTLM"
>> ntlmProviderFqcn="com.foo.Bar"/>
>>       <ntlmMechanismHandler mech-name="GSS-SPNEGO"
>> ntlmProviderFqcn="com.foo.Bar"/>
>>     </saslMechanismHandlers>
>>
>>
>>
>

Re: svn commit: r680778 - /directory/apacheds/branches/bigbang/server-xml/src/main/resources/server.xml

Posted by Emmanuel Lecharny <el...@gmail.com>.
Pierre-Arnaud Marcelot wrote:
> Hi Alex,
>
> I'm currently reviewing the modifications that has been made to the
> server.xml file between versions 1.5.3 and 1.5.4.
>
> Is this normal that the ReferralInterceptor has been removed from the
> configuration ?
>   
I think that it was a part of the big referral refactoring done by Alex. 
Referrals are now handled at a higher level, in LdapProtocl ( if I'm not 
totally wrong )

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org