The active authentication in Jetspeed can be configured to redirect to
another page on failure. I haven't tried this, but I believe you have
to set this session attribute to the URL of the current page:

org.apache.jetspeed.login.destination

I often chose not to use active authentication and instead use the
portal filter for authentication. See documentation here on how to
configure the PortalFilter:

http://portals.apache.org/jetspeed-2/deployguide/config-sso.html

You will need to uncomment the PortalFilter definitions in the web.xml

  <filter>
    <filter-name>PortalFilter</filter-name>
    <filter-class>org.apache.jetspeed.login.filter.PortalFilter</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>PortalFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

then you should be good to use any of the three login portlets:

* Active Authentication Login Portlet (default)
* Portal Login Portlet (basic)
* MFA (with captcha)

On Tue, Jun 15, 2010 at 2:52 AM, Drazen Kozic <[email protected]> wrote:
> Hi,
>
> I am using Jetspeed 2.2.1. In pages root folder I have two pages
> welcome.psml and login.psml. Default page is welcome.psml. Login page
> contains login portlet. User should click on login tab to get login page.
> After successful or unsuccessful login user is redirected to welcome page.
> User should click on login tab to see login error message. This behavior of
> the system is unacceptable. Is there a way to reconfigure
> system to redirect to login page after bad credentials provided?
>
> Thanks in advance
>
>
> __________ Informacije iz ESET NOD32 Antivirus, verzije baze virusnih
> definicija 5196 (20100614) __________
>
> Poruka je proverena putem ESET NOD32 Antivirus.
>
> www.nod32adria.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to