[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule

jopersson do-not-reply at jboss.com
Fri Sep 12 04:31:59 EDT 2008


A (maybe not very good) way for getting client ip

Thread.currentThread().getName()

Name string is in format "someworkerthreadname#[127.0.0.1:1867]"

and parse that string



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

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



More information about the jboss-user mailing list