authentication servlet

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

authentication servlet

smaran

Hi,

For Authentication Instead of j_security I had written my own servlet and I am taking username and password from User and setting that in request. In crud.xpl I am trying to access this user name as below.

<include>/request/attributes</include>

 

  <username><xsl:value-of select="$request/username"/></username>

 

But user name is stored as null in database can any one correct me whats wrong in my approach.

I am adding the crud.xpl of mine

 

Do I need to put in session and access this if so how to access session variables in crud.xpl

 

I am attaching the files for reference

Reagrds,

Smaran

 

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

crud.xpl (37K) Download Attachment
login.xhtml (2K) Download Attachment
Authentication.java (1K) Download Attachment