This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login.jsp and jaas and weblogic (please help)

 
Mr.David Shapiro
Ranch Hand
Posts: 53
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic