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

Re: AW: How to cancel download on the server side

2016-06-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steffen, On 6/1/16 5:14 PM, Steffen Heil (Mailinglisten) wrote: > Hi > > >> We had a similar problem. We just added a "preparation" step >> before the actual download. >> >> 1. User clicks on "request download" link 2. jQuery sends a >> request

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sven, On 6/1/16 8:23 PM, Sven Schleier wrote: > True, you are right. Do you have any suggestion or sample > configuration that should work you can share, or anyone else? $ nghttp -v https://127.0.0.1:8443/ ?? What if you use the hostname of

Re: Tomcat 7 on JDK 6 or JDK 7

2016-06-02 Thread Gokul
Thank you David!! -Gokul On Thu, Jun 2, 2016 at 6:16 AM, David kerber wrote: > On 6/2/2016 6:50 AM, Gokul wrote: > >> Hello, >> >> I am running tomcat 7.0.65. >> >> Currently the tomcat is running on JDK 1.6. Can someone please confirm if >> there is any performance

Re: Tomcat 7 on JDK 6 or JDK 7

2016-06-02 Thread David kerber
On 6/2/2016 6:50 AM, Gokul wrote: Hello, I am running tomcat 7.0.65. Currently the tomcat is running on JDK 1.6. Can someone please confirm if there is any performance impact if tomcat 7 would run on JDK 1.6. I have never noticed any, though I haven't done any formal tests. I sincerely

Tomcat 7 on JDK 6 or JDK 7

2016-06-02 Thread Gokul
Hello, I am running tomcat 7.0.65. Currently the tomcat is running on JDK 1.6. Can someone please confirm if there is any performance impact if tomcat 7 would run on JDK 1.6. Thank you Gokul