I am using the below code in web.xml  <security-constraint>
  |     <web-resource-collection>
  |       <web-resource-name>*</web-resource-name>
  |       <url-pattern>/*</url-pattern>
  |     </web-resource-collection>
  |     <auth-constraint>
  |       <role-name>*</role-name>
  |     </auth-constraint>
  |     <user-data-constraint>
  |       <transport-guarantee>NONE</transport-guarantee>
  |     </user-data-constraint>
  |   </security-constraint>
  |   <login-config>
  |     <auth-method>FORM</auth-method>
  |     <form-login-config>
  |       <form-login-page>/login.jsp</form-login-page>
  |       <form-error-page>/loginerror.html</form-error-page>
  |     </form-login-config>
  |   </login-config>

My page logs in fine and goes to index.jsp. My question is in the jsp page how do I 
get the username?  I can do it with a servlet but am unsure about the jsp page.  Thank 
you in advance for any help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831664#3831664

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831664


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to