What would be the best approach to resolve [JBAS-1468]:

Add support for IP address reporting inside a Login Module
http://jira.jboss.com/jira/browse/JBAS-1468

I initially commited some code to obtain the IP address from the client using a 
Tomcat Valve. Since there was too much cpupling between the Valve and 
JBossSecurityMgrRealm, the code was rolled back.

Another possible implementaion could be creating a new Realm that expects the 
IPAddressValve to be declared in the web application. Since it's another Realm, 
not the default one (JBossSecurityMgrRealm), web apps should declare its use 
(using a context.xml file).

Any thoughts?

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to