You should be able to do chained authentication providers with Spring
Security. If you actually want to prompt your users twice to login, I'd
recommend against it - that just seems like bad UI design.

Matt

On Mon, Aug 31, 2009 at 1:44 AM, Greenhorn2005 <[email protected]>wrote:

>
> Hi,
>
> I am trying to construct another login based on another table i created. I
> am using appfuse 2.0.2. As the appfuse have one login once we start the
> application. I wanted to create a login after this one. That is to say that
> the first login is based on the table app_user. I want to create another
> login based on another table (say membership). How would I do this. I have
> already created login form. with the usual j_security_check.
>
> <form method="POST" action='<%=response.encodeURL("j_security_check")%>'>
>        Username   :<input type="text" name="j_username" size="10"><br />
>        Password   :<input type="password" name="j_password" size="10"><br
> />
>
> </form>
>
> If I do the second login and submit it, it will redirect to the first login
> with message saying "Invalid username and/or password, please try again."
>
> Any hints how to solve this problem?????
>
> Thanks..
>
> GreenHorn
> --
> View this message in context:
> http://www.nabble.com/Creating-two-logins-tp25219498s2369p25219498.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to