Feature Proposal: Support Authenticated Proxy
Motivation
TWiki already supports a proxy for INCLUDE and other functions where TWiki requests external resources, such as RSS feeds via
HeadlinesPlugin.
Description and Documentation
This is a proposal to enhance TWiki to support authenticated proxies, e.g. proxies that require a user and password.
TWiki's configure already supports these proxy settings:
$TWiki::cfg{PROXY}{HOST} = ''; $TWiki::cfg{PROXY}{PORT} = ''; $TWiki::cfg{PROXY}{SkipProxyForDomains} = ''; New configure settings defined in
twiki/lib/TWiki.spec:
# **STRING 30 EXPERT** # User name for proxy that requires authentication. The Perl LWP module # is required for authenticated proxy. $TWiki::cfg{PROXY}{Username} = ''; # **STRING 30 EXPERT** # Password for proxy that requires authentication. $TWiki::cfg{PROXY}{Password} = ''; Examples
Impact
Implementation
--
Contributors: PeterThoeny - 2010-09-01
Discussion
Actually, that is a small and safe enough feature enhancement, so it could go into next patch release of
HelsinkiRelease, e.g. TWiki-5.0.1. Opinion for and against?
--
PeterThoeny - 2010-09-01
very much required, I support this.
--
SopanShewale - 2010-09-03
For Istanbul or already for TWiki-5.0.1?
--
PeterThoeny - 2010-09-03
This proposal is now
AcceptedBy7DayFeedbackPeriod.
Minor spec change from
$TWiki::cfg{PROXY}{User} to
$TWiki::cfg{PROXY}{Username} to make it orthogonal to the existing
$TWiki::cfg{SMTP}{Username} setting.
--
PeterThoeny - 2010-09-07
This is a minor enhancement that can go into the next patch release, e.g. TWiki-5.0.1.
--
PeterThoeny - 2010-09-07
This is now in
SVN trunk and 5.0 branch.
--
PeterThoeny - 2010-09-08