This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Form Based Security

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to protect certain jsp pages using Form Based Authentication in Websphere version 4. I've configured a security-constraint and my url pattern is *.jsp. I've also added an auth constraint to and set up certain security roles. I've also built the loginform using the j_security_check stuff, but after I restart the server and try to access a JSP page, it will not take me to the login.html page that I've set up. Has anyone run into this problem before or have any suggestions??
 
John Rainey
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok - i've read that this doesn't work if you try to access your page with
http://localhost:8080/test.jsp - if you can't specify localhost, what do you specify on your test machine?
 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...the IP address
But are you sure localhost does not work ?
I can have it up and running on a WTE, using localhost.
You did not mentioned you have enabled the security for your server. Have you done it ?
What kind of server is it ? AEs, AE ?
Are you able to set up properly the BASIC authentication ?

For further help, maybe you should post the security part from your web.xml
[ December 13, 2002: Message edited by: Bill Bailey ]
 
John Rainey
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bill - you made the "light" go off in my head. I had forgotten to set the security up within the Websphere server. Everything is working fine now.
Thanks!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic