Re: [Portletbridge-users] PortletBridge Authentication Howto
Brought to you by:
dkfn
|
From: Jamie M. <jam...@gm...> - 2009-06-12 21:05:14
|
Hi Neil, Unfortunately it hasn't been written to do automatic authentication (http basic / digest, form)... the proxy authentication is for proxies rather than the site itself... You'd need to dig into code to get it to authenticate. I should be relatively easy to do but what held me back so far is: - which username / password should be used, most apps would want you to use credentials related to the user that is currently logged in but there isn't a standardized way to get hold of those credentials. In fact, most apps wouldn't even have the credentials because passwords are normally stored as hashes rather than the actual password. - form based authentication is not standardized... that said, it wouldn't be too difficult to cater for the common cases e.g. j_username, j_password, etc. The code to look at is: DefaultHttpClientTemplate regards, Jamie. On Fri, Jun 12, 2009 at 9:32 PM, Neil Longmuir<nei...@sc...> wrote: > all, > > Wondering if someone could point me in the right direction. > > Basically, I deployed the portlet on webspace(liferay)/glassfish no problem > and it works great for non-authenticated websites. For authenticated > websites however, I've tried a myriad of configurations (see below) to no > avail. > > > > > > In the configuration page for the portletbridge > http://www.portletbridge.org/configuration.html, there are details wrt > variables for straight authentication(mode [none, basic ..], username, > password), however I can't find where to set these. > > wondering if it's in a config file or I'm completely missing something. > > Best Regards > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Portletbridge-users mailing list > Por...@li... > https://lists.sourceforge.net/lists/listinfo/portletbridge-users > > |