aspose file tools
The moose likes JBoss and the fly likes JBoss Authentication with JAAS(j_security_check)-Where does 'j_security_check' redirect after Authe? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "JBoss Authentication with JAAS(j_security_check)-Where does Watch "JBoss Authentication with JAAS(j_security_check)-Where does New topic
Author

JBoss Authentication with JAAS(j_security_check)-Where does 'j_security_check' redirect after Authe?

Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 55
Hi,

My Login.jsp




jboss-web.xml in WAR's WEB-INF contains:

Also,
In this example "adb" is a domain that has been declared in $JBoss/server/default/conf/login-config.xml

Where does the 'j_security_check' servlet redirect to after it has finished? Where has it been defined?


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5533

It redirects to the page that cause the login.jsp page to be displayed. I think it redirects to the home page if there is no previous page. This mechanism lets you click on a URL to a secured page, at which point you are asked to log in, after which you are sent to the page you originally requested.


JBoss In Action
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: JBoss Authentication with JAAS(j_security_check)-Where does 'j_security_check' redirect after Authe?
 
Similar Threads
JBOSS FORM based auth and 403
jboss form based database login using login-config
Problems with FORM Authentication
Simple form-based authentication using JAAS
403 access denied error