Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

login.jsp and jaas and weblogic (please help)

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not getting much luck figuring out how to use jaas and login.jsp. I can authenticate on my login.jsp. How do I get it to go back and continue if I determine the authentication was successful? I logincontext.login() successfully, but I am unclear what to put in action= so that it will go back to the page that caused the authentication login page to pop up. I think it was supposed to just automatically redirect on success, but how do I show it authentication was successful? I think it is supposed to be easy, but I am royally confused. Is there something I need to set after I confirm authentication? I even tried to trick it by using jstl to have it parent.back() to the last url, but I think what happens is it goes back to the page that needed authentication and goes hmmm I need to authenticate and sends it back again to the login page. Please help.

David

 
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
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
    Bookmark Topic Watch Topic
  • New Topic