RE: Nginx with Java library

2019-05-24 Thread Jennie Jia
24, 2019 3:32 PM To: nginx@nginx.org Subject: RE: Nginx with Java library Thank you, Patrick! I am trying figure out how to port the ONAP crypto config to the nginx-clojure app. But no luck so far... Here is what did: 1) I added the dependency in the pom.xml here https://github.com/ngi

RE: Nginx with Java library

2019-05-24 Thread Jennie Jia
Message- From: nginx On Behalf Of Patrick Sent: Thursday, May 23, 2019 10:03 PM To: nginx@nginx.org Subject: Re: Nginx with Java library On 2019-05-23 21:29, Jennie Jia wrote: > Here is my code to do the logic, but I checking the java library > provided by this nginx-clojure &

Re: Nginx with Java library

2019-05-23 Thread Patrick
On 2019-05-23 21:29, Jennie Jia wrote: > Here is my code to do the logic, but I checking the java library > provided by this nginx-clojure > https://github.com/nginx-clojure/nginx-clojure/tree/master/src/java/nginx/clojure/java. > I can not figure out how to get "cookie" header value from the ht

RE: Nginx with Java library

2019-05-23 Thread Jennie Jia
NGX_HTTP_OK, //http status 200 }; } } -Original Message- From: nginx On Behalf Of Patrick Sent: Wednesday, May 22, 2019 8:35 PM To: nginx@nginx.org Subject: Re: Nginx with Java library On 2019-05-22 14:02, Jennie Jia wrote: > The java library is ONA

Re: Nginx with Java library

2019-05-22 Thread Patrick
On 2019-05-22 14:02, Jennie Jia wrote: > The java library is ONAP Portal/SDK If you can find the cookie decryption library, then you can call it from clojure -- though spinning up a clojure/java runtime to get access to a cookie seems to be expensive unless you're already writing clojure code. P

RE: Nginx with Java library

2019-05-22 Thread Jennie Jia
Portal SDK decryption method. Thanks Jennie -Original Message- From: nginx On Behalf Of Patrick Sent: Tuesday, May 21, 2019 8:27 PM To: nginx@nginx.org Subject: Re: Nginx with Java library On 2019-05-21 20:54, Jennie Jia wrote: > I am new to Nginx...I have a Create-React-App as a Fr

Re: Nginx with Java library

2019-05-21 Thread Patrick
On 2019-05-21 20:54, Jennie Jia wrote: > I am new to Nginx...I have a Create-React-App as a Front-end, using Nginx as > serving web server. I want integrate with Portal. Portal uses a Java > library to encrypt the cookie. After I received the request from Portal, I > want decrypt the cookie

Nginx with Java library

2019-05-21 Thread Jennie Jia
Hi I am new to Nginx...I have a Create-React-App as a Front-end, using Nginx as serving web server. I want integrate with Portal. Portal uses a Java library to encrypt the cookie. After I received the request from Portal, I want decrypt the cookie using same Java library. I did some googl