On Tue, 21 Mar 2006, Michael Wechner wrote:
Jann Forrer wrote:
Hi
Has anybody an idea whch the Variable properties in the LDAPUser class is
defined static?
no
private static Properties defaultProperties = null;
If I have different ldap settings (ldap.properties) in two different
publications I always get the properties of the publication which
encounters the LDAPUser class for the first time.
Is this an error or a design decision?
BTW, if I declare the defaultProperties variable non-static then i can use
differnt ldap properties in different publications.
so, I guess we should fix this accordingly ;-)
Probably the one who wrote this class had some reason to do it that way
.......? However I think it does not make sense because then you do not
have to declare ldap properties for each publication.
btw, are you refering to 1.2 or 1.4 ?
The properties are declared static in 1.2 and 1.4 but I did test only in
1.2 yet ..
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]