embedded tomcat request params

16 views
Skip to first unread message

Bergner, Arnold

unread,
Nov 7, 2018, 6:18:25 AM11/7/18
to cas-...@apereo.org

Hi,

 

I’m trying to use CAS 6.0.0-RC4-SNAPSHOT, war-overlay, with embedded tomcat.

 

Accessing the serviceValidate (and any other) endpoints, CAS only registers the first request parameter (access log).

 

curl -k https://localhost:8443/cas/p3/serviceValidate?service=abc&ticket=123

 

response:

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>

    <cas:authenticationFailure code="INVALID_REQUEST">service and ticket parameters are both required</cas:authenticationFailure>

</cas:serviceResponse>

 

access_log:

127.0.0.1 "GET /cas/p3/serviceValidate?service=abc HTTP/1.1" 200 (18878 ms)

 

Switching around yields removal of the “service” parameter.

 

I failed to configure the extended Access Log for more information, but I doubt there would be any.

 

Is anyone else experiencing this? Any hints?

 

Regards,

Arnold

Misagh Moayyed

unread,
Nov 7, 2018, 11:31:40 AM11/7/18
to cas-...@apereo.org
Bad curl command. Try:


Note the single-quotes around &.

--Misagh


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9b518faf4caf4f3a96d9290bc1077986%40hrz.tu-darmstadt.de.

Bergner, Arnold

unread,
Nov 8, 2018, 1:25:08 AM11/8/18
to cas-...@apereo.org
Reply all
Reply to author
Forward
0 new messages