This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Security and the fly likes simple login page (HELP!) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "simple login page (HELP!)" Watch "simple login page (HELP!)" New topic
Author

simple login page (HELP!)

DeAlton Jones
Greenhorn

Joined: Apr 04, 2006
Posts: 22
Hi everyone!,

I am working on a simple login faces page that if the j_username and the j_password are correct navigate to a success page if not navigate to a failed page. I am using an LDAP to validate.




This code is pretty generic and a lot of people have had success with it. any and all help would be appreciated.

thanks
DeAlton Jones
Greenhorn

Joined: Apr 04, 2006
Posts: 22
more information

I get a the following for my sysouts
I am getting my session id
What is the return code 302, shouldn't it be 200
authenticated username is null. why?


Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
In a URL, the parameters start with a "?", so instead of "&j_username=" it should be "?j_username=".
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: simple login page (HELP!)