Tags:
create new tag
, view all tags

Feature Proposals » LWPModules configuration

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
RejectedProposal HideyoImazu ConsensusReached 2015-02-07     KampalaRelease

Edit Form

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-02-09 - HideyoImazu
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.