Motivation
When you use the LWP module in TWiki::Net, you may need to use additional modules.
Description and Documentation
Let's assume you want to have "use LWP::Authen::Negotiate;" in effect when LWP::UserAgent is used in TWiki::Net. {LWPModules} would have "LWP::Authen::Negotiate" in that case.
{LWPModules} would have semicolon separated strings, each of which is evaluated with "use " prepended.
Examples
$TWiki::cfg{LWPModules} = 'LWP::Authen::Negotiate';
Impact
Implementation
--
Contributors:
Hideyo Imazu - 2015-02-07
Discussion
In the special case of
LWP::Authen::Negotiate, I think that you don't need a configuration variable for the module: If the module is just
installed (i.e. available somewhere in
@INC), then
LWP::UserAgent will just pick it up if it encounters a website requiring
Negotiate authentication.
On the other hand, what needs to be configured in some way is the access to the
keytab file containing the ID ("principal") you want to use for authentication. The web server process(es) need to do a
kinit before performing authentication. Of course, TWiki and its configuration data need to be well protected against unauthorized read access in that case.
--
Harald Jörg - 2015-02-07
Ah. Thank you for the info, Harald! I've confirmed that LWP::Authen::Negotiate just works as long as it's found in
@INC
. So I'm retracting this proposal.
--
Hideyo Imazu - 2015-02-09