Misagh Moayyed
537aad6daa
clean up
2019-01-31 01:43:33 -07:00
Misagh Moayyed
1e4a416e69
update readme; add full-regex
2019-01-31 01:39:55 -07:00
tsschmidt
7eff0590ff
Refactored and added unit test.
2019-01-24 16:31:54 -08:00
tsschmidt
173fa91a11
Refactor
2019-01-23 10:24:01 -08:00
tsschmidt
ff186d0b15
Extract inlined CAS attributes in protocol 3 Ticket Validator
2019-01-23 08:26:35 -08:00
Dmitriy Kopylenko
574b74fa64
[maven-release-plugin] prepare for next development iteration
2018-11-01 10:32:59 -04:00
Dmitriy Kopylenko
cbf97a45c0
[maven-release-plugin] prepare release cas-client-3.5.1
2018-11-01 10:32:53 -04:00
Joshua Smith
6dbfdd2142
Include serverName path when constructing service url
...
Commit be2a641 introduced a bug which overwrites the serverName path component
when constructing service urls. This makes it impossible to deploy a CAS-
protected application behind a reverse proxy with a path prefix.
Now, the path from the incoming request is appended to the serverName path
instead of overwriting it.
2018-10-02 13:29:30 -07:00
Matt Drees
a61f7f28d1
Rename logoutPath to logoutCallbackPath
2018-07-25 13:07:29 -06:00
Misagh Moayyed
34ce26d0e6
Merge branch 'master' into issue-210-preserve-entity-stream-for-non-logout-requests
2018-07-25 10:25:51 +04:30
Matt Drees
f59544c14b
Stop using "matches" terminology
2018-07-24 16:07:44 -06:00
Matt Drees
f915f559e8
Move utility method to CommonUtils
2018-07-24 15:19:01 -06:00
Matt Drees
5253d26444
Add option to prevent entity stream consumption
...
If someone's app cannot handle the SingleSignOutFilter's consumption of entity streams
(via a `request.getParameter()` call) on all requests,
they can use this option in conjunction with setting up a service logout URL at the CAS server.
The filter will now only consume the stream on requests to this path.
Fixes https://github.com/apereo/java-cas-client/issues/210 .
2018-07-24 15:19:00 -06:00
Matt Drees
296b1fc3ef
Support casServerUrlPrefix config option
...
`casServerUrlPrefix` is used for validation and single logout,
but before this commit it couldn't be used by the auth filter.
As a result, web.xml needed to (for the typical usecase)
contain at least two references to the cas server.
Now, only one context init-param reference is necessary,
as long as the login page is hosted at {prefix}/login
(which seems to be mandated by cas protocol spec).
2018-07-24 15:18:24 -06:00
Misagh Moayyed
1e9b356c9e
Merge pull request #178 from jalios/master
...
Fix #177 Every other request incorrectly gatewayed
2018-07-25 00:24:13 +04:30
Matt Drees
0ad8e50809
Fix race condition in PublicTestHttpServer tests
...
The previous code assumed the server would start listening on the socket before tests ran, but didn't enforce this.
2018-07-24 11:29:25 -06:00
Misagh Moayyed
2af0d7d13c
fix tests
2018-07-17 11:50:10 +04:30
Misagh Moayyed
097bd599f0
fix tests
2018-07-17 11:42:41 +04:30
Misagh Moayyed
d263e9958b
fix tests; adjust log levels for tests
2018-07-17 11:33:03 +04:30
Misagh Moayyed
f96fc84e28
handle un-encoded query strings in url parameters
2018-01-31 14:11:00 +03:30
Dmitriy Kopylenko
3e43a606c9
[maven-release-plugin] prepare for next development iteration
2018-01-12 11:56:32 -05:00
Dmitriy Kopylenko
43c7d1da8d
[maven-release-plugin] prepare release cas-client-3.5.0
2018-01-12 11:56:28 -05:00
Misagh Moayyed
7e866d9170
Merge pull request #209 from tkd-yas/master
...
Fix missing parameter key in service url (#208 )
2017-10-06 04:31:21 -07:00
Misagh Moayyed
970a0f5db9
Merge pull request #212 from mmoayyed/json-validator
...
New Json ticket validator to accept CAS responses in JSON.
2017-06-20 09:16:37 -07:00
Hal Deadman
ec61628d15
Improve error logging when getting response fails
2017-06-02 10:59:16 -04:00
Misagh Moayyed
3bb2494ea2
Apply changes after code review by @serac
2017-06-01 21:03:51 -04:00
leleuj
c0ded8f897
merge with master
2017-05-24 08:36:57 +02:00
Misagh Moayyed
2a5e854f0d
Merge pull request #187 from Unicon/Frontchannel-slo
...
Handle front-channel SLO
2017-05-22 12:25:15 -04:00
Misagh Moayyed
f07e2abc7e
add test cases
2017-05-18 14:09:11 -07:00
Misagh Moayyed
7770e2adbf
Fix test cases with attribute encoding
2017-05-18 12:31:44 -07:00
Misagh Moayyed
0457035b7b
allow extension points for JSON validation parsing. add filter and validator
2017-05-17 16:13:46 -07:00
Misagh Moayyed
a4f622833e
allow extension points for JSON validation parsing. add filter and validator
2017-05-17 16:00:24 -07:00
Misagh Moayyed
6f353a954d
allow extension points for JSON validation parsing. add filter and validator
2017-05-17 15:59:20 -07:00
Misagh Moayyed
c00627c244
allow extension points for JSON validation parsing. add filter and validator
2017-05-17 15:04:42 -07:00
Yasuhiro Takada
092db55945
fix test faiiure
2017-04-17 20:36:40 +09:00
Yasuhiro Takada
b9f66147ec
fix missing parameter key in service url when parameter value not provided.
2017-04-17 19:22:41 +09:00
lizhixiang
3a02f3d592
add setter to ignoreUrlPatternMatcherStrategyClass, with purpose of
...
injecting UrlPatternMatcherStrategy to AuthenticationFilter by Spring
IOC
2017-01-05 12:16:16 +08:00
Misagh Moayyed
f2415d4579
Merge pull request #184 from Unicon/Skew-assertion-date
...
Handle date equality when checking for assertion validity
2016-09-23 10:24:02 +03:30
Misagh Moayyed
2ca6503a0f
Fixed test cases
2016-09-09 16:22:32 +04:30
Misagh Moayyed
c3589440f8
Updated front-channel SLO handling
2016-09-09 16:14:06 +04:30
Misagh Moayyed
6f05fe0e28
Merge pull request #181 from Unicon/Tostring
...
Let ConfigurationKey toString() the name
2016-09-07 20:53:38 +04:30
Misagh Moayyed
02544ee0ae
Merge pull request #185 from Unicon/Redundant-GroupId
...
Remove redundant groupId from POM defns
2016-09-07 20:53:21 +04:30
Misagh Moayyed
5ce675434b
Remove redundant groupId from POM defns
2016-09-07 16:12:34 +04:30
Misagh Moayyed
f404a2ae74
Handle date equality when checking for saml assertion validity
2016-09-07 16:10:16 +04:30
Scott
41be540261
Merge pull request #182 from Unicon/Refact
...
Minor code adjustments to CommonUtils to use String.isEmpty()
2016-09-07 07:30:43 -04:00
Misagh Moayyed
5e36559b15
Let assertion validity checks to be more flexible
...
when comparing dates.
2016-09-07 15:47:04 +04:30
Misagh Moayyed
ad1ccbd64b
Minor code adjustments to CommonUtils to use String.isEmpty()
2016-09-07 15:38:46 +04:30
Misagh Moayyed
a1f85b9eb3
Let config keys log the name
2016-09-07 15:31:39 +04:30
Marvin S. Addison
d35053b362
Log proxy ticket returned from /proxy protocol endpoint.
2016-09-01 13:22:01 -04:00
Olivier Jaquemet
6caa9d4eab
Fix #177 Every other request incorrectly gatewayed
...
- ensure behavior of gateway is predictable (reentrant)
2016-08-09 10:27:27 +02:00