-
1. Re: Using j_security_check with a custom Principal , a custo
soshah Jul 13, 2006 11:39 AM (in response to emailmsgbox)emailmsgbox-
You can try sending the extra parameter "kuku" as part of your Login Form submission and extract it in your login module using:
request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY);
request.getParameter("kuku");
Now, if this "kuku" parameter is Login Module configuration related, you can also use
<module-option name="kuku">kuku-value</module-option>
in your Login Module configuration
Hope this helps
Thanks
Sohil -
2. Re: Using j_security_check with a custom Principal , a custo
emailmsgbox Jul 17, 2006 3:02 AM (in response to emailmsgbox)Yes it did,
thanks -
3. Re: Using j_security_check with a custom Principal , a custo
atamur Jul 31, 2006 7:42 AM (in response to emailmsgbox)if someone is also interested in this topic, you should look at http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication for WEB_REQUEST_KEY =)
PS great thanks to sohil.shah
your reply was of a great help -
4. Re: Using j_security_check with a custom Principal , a custo
lou Aug 16, 2006 8:13 AM (in response to emailmsgbox)I'm having the same problem with a j2ee web app using jboss, I want to use an extra parameter in j_security_check form. Can u please paste your sample code because what i read here didnt helped me. Or if u can give me a link where i can found the whole process in detail. Many thanks.
-
5. Re: Using j_security_check with a custom Principal , a custo
lou Aug 18, 2006 9:03 AM (in response to emailmsgbox)Ok I managed to solve the problem. Here the complete code and settings I used.
http://www.srcfactory.com/the_j_security_check_form_extra field_solution/ -
6. Re: Using j_security_check with a custom Principal , a custo
lou Aug 18, 2006 9:09 AM (in response to emailmsgbox)Sorry misstyped url: [url]http://www.srcfactory.com/the_j_security_check_form_extra_field_solution/