Hi,
  I read your post. Why don't you just do this in your login page:

<f:verbatim>

<form id="login" action="./j_acegi_security_check">

<table>

<tr>

<td><label id="usernameLabel" for="username">Username:

</label></td><td><input id="usernameInput" name="j_username" style="width:
20" /></td>

</tr>

<tr>

<td><label id="passwordLabel" for="password">Password:

</label></td>

<td><input id="passwordInput" style="width: 20" type="password"
name="j_password"
/>

</td>

</tr>

<tr>

<td></td>

<td><input type="submit" class="button" value="Login"

align="middle"

style="margin-top: 5px; margin-bottom: 10px; margin-left: 90px" />

</td>

</tr>

</table>

</form>

</f:verbatim>
I'm using facelets too and I've simply defined a different layout for my
login page.
I'm planning to move the authentication to a backing bean. Here is a good
example of how you can do that:
http://www.javakaffee.de/blog/2006/07/04/jsfacegi-authentication-with-a-backing-bean/

Bye
Davide


On Sun, Apr 13, 2008 at 3:36 PM, kace <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I have a project that uses
>
> myfaces 1.2.2
> spring 2.5.3
> acegi 1.0.6
> facelets 1.1.14
> acegijsf:1.1.3
>
> I am trying to get acegi to authenticate user after clicking login but I'm
> getting this error
>
> HTTP ERROR: 404
>
> /j_acegi_security_check.html
>
> RequestURI=/404.html
>
> Ive checked out and used the myfaces wiki section on this but I am still
> having issues - if anyone has familiarity here can you take a look at my
> post I made over at spring forums, where there is the relevant code
> snippets, and let me know if I can try anything else.
>
> http://forum.springframework.org/showthread.php?t=52520
>
> Thanks
>
> ..kace
> --
> View this message in context:
> http://www.nabble.com/acegi-and-JSF-tp16667638p16667638.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to