Perl 6 - the future is here, just unevenly distributed

IRC log for #openam, 2015-07-17

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:30 MegaMatt joined #openam
01:48 ilbot3 joined #openam
01:48 Topic for #openam is now Chat about the OpenAM project - https://backstage.forgerock.com/#/downloads - OpenAM 12.0.0 is out! OpenAM 11.0.3 is out! Channel logs at: http://irclog.perlgeek.de/openam/today
04:56 aldaris joined #openam
05:29 ilbot3 joined #openam
05:29 Topic for #openam is now Chat about the OpenAM project - https://backstage.forgerock.com/#/downloads - OpenAM 12.0.0 is out! OpenAM 11.0.3 is out! Channel logs at: http://irclog.perlgeek.de/openam/today
05:55 aldaris joined #openam
06:02 aldaris joined #openam
06:42 SteveFerris joined #openam
07:03 KermitTheFragger joined #openam
07:05 tsmalmbe joined #openam
08:14 aldaris joined #openam
08:20 SteveFerris joined #openam
08:57 aldaris joined #openam
10:36 tsmalmbe joined #openam
10:44 aldaris joined #openam
10:51 aldaris joined #openam
11:16 MegaMatt joined #openam
11:25 tsmalmbe joined #openam
11:36 aldaris joined #openam
12:08 mckeanbs joined #openam
12:45 mckeanbs1 joined #openam
13:10 MegaMatt joined #openam
13:20 balo_ joined #openam
14:35 aldaris joined #openam
15:04 mckeanbs joined #openam
15:53 mckeanbs joined #openam
16:27 MegaMatt_ joined #openam
19:19 aldaris joined #openam
20:09 aldaris joined #openam
20:31 polanco joined #openam
20:42 aldaris joined #openam
21:03 aldaris joined #openam
21:12 aldaris joined #openam
21:21 aldaris joined #openam
21:25 satiro1 joined #openam
21:25 satiro1 Hi I'm tryin to run a json logout but it's not working like the doc says
21:26 satiro1 as you can read in this link  http://docs.forgerock.org/en/openam/12.0.0/dev-guide/#chap-rest 3.7.2
21:27 satiro1 sorry is 3.4.1
21:27 satiro1 but I'm getting this error over and over again
21:27 satiro1 {"code":400,"reason":"Bad Request","message":"iPlanetDirectoryCookie not set on request"}
21:28 satiro1 I've tried quotes, no quotes different syntax but nothing seems to work
21:33 aldaris well how are you making that call?
21:33 satiro1 like this
21:34 satiro1 curl -X POST --header "iplanetDirectoryPro: AQIC5wM2LY4SfcwdAERWTdcVc5GQO-9z2_DUHyLVa0DdssA.*AAJTSQACMDIAAlNLABM1NzQzMzI2MzQxNTQ0NDEwNjc0AAJTMQACMDE.*" \
21:34 satiro1 --header "Content-Type: application/json" http://openam.example.com:8080/openam/json/sessions/?_action=logout
21:34 satiro1 I've a realm called practice
21:36 satiro1 when token expires I get a 401 error, so I think it's a normal behaviour
21:37 jjpp_ it might expect the cookie, so try  --header "Cookie: iPlanetDirectoryCookie=.." ?
21:37 aldaris you could try cookie too
21:38 aldaris I know this shouldn't matter, but I wonder what happens if the header name is all lowercase?
21:38 satiro1 aldaris I've tried lowercase, uppercase and nothing works
21:40 satiro1 ups
21:40 satiro1 I mean I tried iPlanetDirectoryPro
21:40 satiro1 and I found some examples in internet with p lowercase
21:40 satiro1 so that's how I was trying lately
21:42 satiro1 but iplanetdirectorypro worked, how did you know it?
21:43 satiro1 {"result":"Successfully logged out"}
21:43 satiro1 so documentation is wrong :)
21:43 aldaris I had a bad hunch
21:43 aldaris and apparently we are not HTTP spec compliant
21:43 aldaris :/
21:44 satiro1 ok what's really important to me is that it works
21:44 satiro1 thank you!
21:48 jjpp_ hm, it does work for me with camelcase as well
21:48 jjpp_ could be that it is related to the container you use
21:50 satiro1 I'm working with weblogic 12 btw
21:51 jjpp mine was some really old tomcat :)
21:52 satiro1 yes may be the container you're right, I'm trying with openam12
21:55 satiro1 for the record
22:12 aldaris joined #openam
22:16 aldaris joined #openam
22:22 aldaris joined #openam
22:36 aldaris joined #openam
22:53 MegaMatt joined #openam
23:18 aldaris joined #openam
23:44 aldaris joined #openam
23:51 aldaris joined #openam

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary