Thanks, great hint. So I can get those Values from the XWiki Object using
something like: XWiki.getXWikiPreference("ldap_base_DN")The question is: How can I set them? In the API doc there isn't a description of a public setter. Also, this only works for the current session, right? (That would be exactly what we need.....) Steve Thomas Mortagne wrote: > > Hi, > > On Tue, Jul 22, 2008 at 5:32 PM, Stefan Woehrer <[EMAIL PROTECTED]> > wrote: >> >> Hi, >> >> is there a way to change some values from the xwiki.cfg per POST/GET >> parameter or per script? >> >> The idea is to adopt the login form and add a drop down box where the >> users >> can select their current subdomain. This value should afterwards be used >> as >> value for the base_DN property. > > Yes all ldap parameters can be modified also in XWiki.XWikiPreferences > (even enable/disable ldap). Edit XWiki.XWikiPreference in object edit > mode and you will see them. To find the programmatic name of theses > parameters you just have to change "xwiki.authentication.ldap." by > "ldap_". For example xwiki.authentication.ldap.base_DN become > ldap_base_DN. > >> >> I'm refereing to the multiple ldap server problem: >> http://jira.xwiki.org/jira/browse/XWIKI-2577 >> >> Thanks, >> Steve >> >> >> >> >> -- >> View this message in context: >> http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p576818.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p580000.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
