It's not a secret anymore!*
The moose likes BEA/Weblogic and the fly likes login.jsp and jaas and weblogic  (please help) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "login.jsp and jaas and weblogic  (please help)" Watch "login.jsp and jaas and weblogic  (please help)" New topic
Author

login.jsp and jaas and weblogic (please help)

Mr.David Shapiro
Ranch Hand

Joined: Apr 18, 2005
Posts: 51
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: login.jsp and jaas and weblogic (please help)