From: <ha...@ub...> - 2013-06-14 06:45:21
|
I have a VuFind2 running with Shibboleth, as a frontend for our publication system. So, not many people do login, but as far as I can tell, VuFind behaves as expected. If you want to do more testing, I could ask for a test account, if that helps to sort things out a little bit, but that may take some time. --Goetz. On Thu, Jun 13, 2013 at 05:54:09PM +0000, Osullivan L. wrote: >Hi Folks, > >Has anyone got VuFind2 running with Shibboleth? I'm coming up against a problem which I think may be a bug. > >Basically, I get stuck in an infinite loop between MyResearch/Home and MyResearch/Login - it took me a whole to work this out as rather than throwing the loop error, I was just taken to the http root of the web server. It was only when I put in a trust echo("smeg") that the loop error appeared. > >Anyway, from what I can tell, $this->getAuthManager()->login($this->getRequest() only ever gets called in the MyResearch/Home action and the Ajax Action. The code is: > >// Process login request, if necessary: > if ($this->params()->fromPost('processLogin')) { > try { > $this->getAuthManager()->login($this->getRequest()); > } catch (AuthException $e) { > $this->flashMessenger()->setNamespace('error') > ->addMessage($e->getMessage()); > } > } > >As a Shibboleth login will never have a "processLogin" POST value set, the authentication block is always ignored. Can anyone else verify this? > >Thanks, > >Luke > > > >-- >Luke O'Sullivan >Systems Developer >Web Team >Swansea University, Singleton Park, Swansea SA2 8PP, UK >l.o...@sw...<mailto:l.o...@sw...> >01792 602772 >@l_os_cymru >------------------------------------------------------------------------------ >This SF.net email is sponsored by Windows: > >Build for Windows Store. > >http://p.sf.net/sfu/windows-dev2dev >_______________________________________________ >Vufind-tech mailing list >Vuf...@li... >https://lists.sourceforge.net/lists/listinfo/vufind-tech |