aspose file tools*
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
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
Marshal

Joined: Mar 22, 2005
Posts: 41488
    
  53
In a URL, the parameters start with a "?", so instead of "&j_username=" it should be "?j_username=".


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simple login page (HELP!)