Re: infoglue login / logout / invalid login logic
eric galant <[email protected]>
| Newsgroups | gmane.comp.cms.infoglue.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, How I configure infoglue if i want a login form into my website ? Do I modify a ServerNode properties ? Thanks, Eric Galant astik a écrit : > Hi all, > I'm having some issues with handling login logic ... I don't know if > I'm doing it well or not =/ > I d'ont want my login form to be the default infoglue one, but i want > a login form into my website. > > The url is ViewPage.action?siteNodeId=20 defined into repository > properties : > loginUrl=ViewPage.action?siteNodeId=20 > > It works great for login. > For logout, i just have to give the returnAddress in url parameter and > it works too. > > Problem is with invalid login. > > Here is what happen : > - user tries to access a protected page > - ViewPageFilter forwards to ViewPageAction > -ViewPageAction call handleExtranetLogic method which uses > getRedirectUrl method > - getRedirectUrl method load the url from the authenticationModule and > is overload by the repositoryLoginUrl > - login form displayed on loginUrl > - user submit login form, the form action is : ExtranetLogin! > authenticateUser.action ... it uses > org.infoglue.deliver.applications.actions.ExtranetLoginAction.class > - if user credentials are good, user is redirected to returnAddress, > if not invalidLogin is return and webwork redirects user to /deliver/ > extranetLoginError.vm > > I'd prefer to redirect user on my dynamic page instead of the infoglue > velocity page. > > Is there a way to define othere url like logoutUrl, invalidLoginUrl, > noAccess into repository settings ? > > Right now, I'm on my way to re-write ExtranetLoginAction to make it > work the way i want to. I would have like to inherit from this class, > but it is a final one, so I can't inherit ='( > > Any idea to make this easier ? > > __ > Romain > http://blog.astik.info > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Infoglue-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/infoglue-developer > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference