I think that in your jboss-web.xml or jboss.xml files, you can specify the 
default principal to be used when not authenticated using the 
<unauthenticated-principal> xml tag.

When you call the getUserPrincipal, the getName method should in theory return 
whatever value is in your unauthenticated-principal tag.

Look into the DTD for the XML or in the JBoss documentation on security, there 
should be some helpful things in there.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to