Re: [Resteasy-users] Oauth2 with RestEasy behind an AWS Load Balancer

2014-01-26 Thread james truty
Hi Weinan, The AWS load balancer sends an X-Forwarded-Proto header to the Jboss server in the backed, which Jboss is able to use if I add this valve and option to my jboss-web.xml: valve class-nameorg.apache.catalina.valves.RemoteIpValve/class-name param

Re: [Resteasy-users] Oauth2 with RestEasy behind an AWS Load Balancer

2014-01-26 Thread Weinan Li
Hi James, Glad the header problem is solved :-) For Beaer token, sorry I’m not familiar about it, but if it uses cookies to store authentication information, you can try to check your browser to see if the ‘Expires’ field of the cookie is set correctly or not. For example, if you are using

Re: [Resteasy-users] Oauth2 with RestEasy behind an AWS Load Balancer

2014-01-25 Thread Weinan Li
Hi James, Sorry I’m not familiar with AWS load balancer. I know that mod_jk supports to pass client SSL information to backend JBoss server and the application in JBoss server could use the information to do their work. And mod_jk is using standard AJPv13 protocol to forward the client SSL