Hi,
On Tue, 15 Jan 2002 03:04, Jörg Bauer/Denic wrote:
> I made some extensions to
> org.apache.avalon.phoenix.components.manager.DefaultManager
>
> 1. Configurable HTTP-Adapter-Port
> We have more than one instance of phoenix running on our System, so we need
> more "Managment"-Servers.
> just define enviroment phoenix.adapter.http to the port you want
>
> 2. Authentication of the HTTP-Adapter
> It realy makes no sence to have an open HTTP-Server where everybody can
> kill phoenix
> just define environment phoenix.admin.passwd to the secret you want, then
> you have admin/secret for the login to the HTTP-Managment-Console.
> if you want a different user:
> just define environment phoenix.admin.user to the username you want.
>
> Is it OK they way i did it ???
Its fine. Originally the HTTP adaptor was only used for testing purposes and
thats why there was never any authentication implemented.
> (Maybe it is better to make DefaultManager Configurable and put this in
> environment.xml. If you think so, please tell me. I will do it)
The way it probably should be done is via a kernel wide configuration file
(say kernel.xml) but as yet there is no such file so the way you have
implemented it is fine.
If you wanted more options then it may be a good idea to create a kernel.xml
file and then load it in the DefaultEmbeddor and use it to configure the
components like that.
--
Cheers,
Pete
----------------------------------------
Whatever you do will be insignificant,
but it is very important that you do it.
--Gandhi
----------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>