Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple login page (HELP!)

 
DeAlton Jones
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a URL, the parameters start with a "?", so instead of "&j_username=" it should be "?j_username=".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic