Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

login.jsp and jaas and weblogic (please help)  RSS feed

Mr.David Shapiro
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.


Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!