users@woodstock.java.net

Re: How to use login component?

From: Ratnadeep Bhattacharjee <Ratnadeep.Bhattacharjee_at_Sun.COM>
Date: Thu, 19 Jun 2008 20:22:46 -0400

ilango_g wrote:
> Hi
> I was wondering where I can find samples for project Woodstock.
>
>
Sample code showing the components at work can be found here:
http://webdev2.sun.com/example/faces/index.jsp

The TLD docs can be fond in:

https://woodstock.dev.java.net/Documentation.htm
> Stefan Bley wrote:
>
>> I used the jsp login mechanism
>>
>> <form action="j_security_check" method="POST">
>> Username:<input type="text" name="j_username"><br>
>> Password:<input type="password" name="j_password">
>> <input type="submit" value="Login">
>> </form>
>>
>> to implement authentication. It checks against a jdbcRealm configured in
>> my Glassfish app server.
>> Now I wanted to use the webuijsf components instead, but obviously I can't
>> just replace form by webuijsf:form. I thought I would have to use
>> webuijsf:login instead, but I don't get a clue how to use it. I was going
>> through the samples and found those login module implementations. Do I
>> have to create one?
>> Is there a simple way to forward username and password input to the jdbc
>> authentication provided by Glassfish?
>>
>> Regards, Stevy
>>
>>
>>
>>
>
>