wood burning stoves 2.0*
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: 41106
    
  45
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!)
 
Similar Threads
Configuration of filter problem
Logout in JSF with Security managed by Glassfish v3.1
JAAS and Tomcat container managed authentication
Bypass login form on a Spring application
java.lang.IllegalStateException: Cannot create a session after the response has been committed