Re: svn commit: r542072 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Re: svn commit: r542072 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: svn commit: r542072 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/  
Enrique Rodriguez


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-28-07 06:11 AM

On 5/27/07, Enrique Rodriguez <enriquer9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:[vbc
ol=seagreen]
> ...
> I can make that happen by moving kerberos-shared and protocol-shared
> to the shared subproject.  protocol-shared should move since it was
> intented to be shared by protocols.  That leaves core Configuration
> deps.  Any thoughts there?  I think we talked at one point about
> moving Configuration to its own module.  We may need a separate base
> class for service (protocol) configuration vs. core configuration.
> That makes a lot of sense and of course Spring doesn't care.  I
> thought there was some requirement that a core Configuration had to be
> in the env when obtaining a context using CoreContextFactory but I
> could be mistaken.[/vbcol]

I did some more checking.  Most protocols had the following line in
their env setup for using CoreContextFactory:

env = new Hashtable<String, Object>( config.toJndiEnvironment() );

The 'config.toJndiEnvironment()' required that every
ServiceConfiguration extend core Configuration or an exception is
thrown for ServiceConfiguration not being an instance of
Configuration.  If I just remove this line, I can make
ServiceConfiguration the base of its own hierarchy and everything
appears to work just fine.  Any clue what that was there for and if I
can just remove it?  Tests pass and the server runs fine in
server-main.

With that gone and ServiceConfiguration not extending Configuration,
the deps from protocol-shared can be easily removed.  In fact, I have
the deps totally removed now and after more testing I will likely
commit the changes on Monday.  I also apparently have to move all
interceptors into the core.  I have 3 interceptors (password policy,
key derivation, and key export) and of course interceptors have tight
deps to the core.

I will commit everything on Monday after I test more.

Enrique






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register