portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor" <da...@bluesunrise.com>
Subject RE: proposed patch - HTTP Basic Autentication for WebPagePortlet
Date Thu, 28 Mar 2002 16:30:27 GMT

I will review the patch today.


> -----Original Message-----
> From: David G. Powers [mailto:jetspeed-dev@pssp.com] 
> Sent: Wednesday, March 27, 2002 7:06 PM
> To: Jetspeed Developers List
> Subject: proposed patch - HTTP Basic Autentication for WebPagePortlet
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'd like to make a small contribution to Jetspeed.
> 
> The attached patch enables the WebPagePortlet to display pages which 
> require HTTP Basic Authentication.
> 
> Please review the proposed patch, apply, and test it.  Also, 
> please post 
> any comments or propose enhancements that might make it worthy of 
> acceptance.
> 
> Thanks,
> 
> DP
> 
> ============================================================
> Changed Class: 
> ============================================================
> org.apache.jetspeed.portal.portlets.WebPagePortlet
> 
> WebPagePortlet now recognized two new <portlet-entry> parameters
> - - username
> - - password
> 
> The username and password are used to construct an HTTP Basic 
> Authentication header which is used by the WebPagePortlet to access 
> "secured" content.
> 
> 
> ============================================================
> New Class: 
> ============================================================
> org.apache.jetspeed.util.Base64
> 
> Excerpt from RFC 2617 (http://www.faqs.org/rfcs/rfc2617.html)
> To receive authorization, the client sends the userid and password, 
> separated by a single colon (":") character, within a base64 
> encoded string 
> in the credentials.
> 
> 
> 
> 
> - -- 
> David G. Powers
> PowerSource
> -----BEGIN PGP SIGNATURE-----
> Comment: Verify the authenticity of this message with the 
> public key available at http://pssp.com/dgp_pk.asc
> 
> iD8DBQE8ooi1jmjAPDT0/nERAvXxAJ9cthkMTQHNBgVrbOD83KehyngDSgCgqQck
> jhxsk10yKMySqNFAjQ08WBU=
> =bzP4
> -----END PGP SIGNATURE-----
> 



--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message