A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
using jsp:setProperty bean with FORM authentication
Joined: Jul 30, 2004
Nov 16, 2006 02:19:00
I have a suitable web application in which I have form authentication using normal specified j_username, j_password stuff..
When the user is authenticated, I want to set my Java Bean Class property to these values (assuming in my Bean Class named userBean.java I have two variables namely
userName, String password)
normally one can do this (without form authentication)
by <jsp:setProperty name="user" property="*"> which automatically does the trick for you instead of lines of code..
But now because I have my username and password (FORM authentication) as
j_username and j_password... how can I accomplish setting beans property
Help, suggestion would be greatly appreciated
I agree. Here's the link:
subject: using jsp:setProperty bean with FORM authentication
Retrieving login information
java.lang.IllegalStateException: Cannot create a session after the response has been committed
Spring Security 2.0.4 .... Redirect user to original page after authentication success or failure
Authentication with LDAP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014