Re: Getting HttpServletRequest in Login Module

2016-06-03 Thread Mark Thomas
On 03/06/2016 05:23, saurabh.su...@rbs.com.INVALID wrote: > I want it to get the IP address in the Login module. > > In JBoss 6 i got so: > > > 1.private String getIP() throws PolicyContextException { > 2. HttpServletRequest request = (HttpServletRequest) >

Getting HttpServletRequest in Login Module

2016-06-02 Thread Saurabh.Suman
I want it to get the IP address in the Login module. In JBoss 6 i got so: 1.private String getIP() throws PolicyContextException { 2. HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext("javax.servlet.http.HttpServletRequest"); 3. return