Alexander Buntakov
71e71f15ff
support internal requests skip
2019-12-27 17:53:03 +03:00
Misagh Moayyed
638c2d6fe4
fix maven jar plugin version
2019-11-21 17:31:58 +04:00
dependabot-preview[bot]
3ba892e482
Bump maven-jar-plugin from 3.1.1 to 3.2.0 ( #385 )
...
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin ) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases )
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.1.1...maven-jar-plugin-3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 13:22:15 +04:00
Misagh Moayyed
e4c1df0280
[maven-release-plugin] prepare for next development iteration
2019-10-08 17:22:31 +04:00
Misagh Moayyed
a00064d1d8
[maven-release-plugin] prepare release cas-client-3.6.1
2019-10-08 17:22:16 +04:00
Misagh Moayyed
21d5f37322
Updated: code cleanup and styling; fixes test cases
2019-10-08 17:20:43 +04:00
Misagh Moayyed
872fc49fb7
ensure API compatibility
2019-10-08 17:19:45 +04:00
Jérôme LELEU
18c79fcf00
[maven-release-plugin] prepare for next development iteration
2019-10-07 11:02:29 +02:00
Jérôme LELEU
9394a6e190
[maven-release-plugin] prepare release cas-client-3.6.0
2019-10-07 11:02:21 +02:00
Misagh Moayyed
7e34235578
fix license headers
2019-08-09 14:55:39 +04:30
Misagh Moayyed
24c3f92030
updated
2019-08-08 22:11:54 +04:30
Misagh Moayyed
ca5e5f1f06
add springboot autocfg support
2019-08-07 21:39:44 +04:30
Misagh Moayyed
bab29c84f4
fix compile errors
2019-08-05 14:14:59 +04:30
Lars Grefer
fdc948b8ec
Remove the unused 'casServerUrlPrefix' parameter
...
fixes #329
2019-07-25 22:54:58 +02:00
Marvin S. Addison
7ce4cb8aa5
Provide for secure XML processing.
...
Follow recommendations at https://wiki.shibboleth.net/confluence/x/XoEYAw
which are consistent with recommendations on #191 to prevent XXE vectors.
Resolves #191
See https://github.com/apereo/java-cas-client/issues/191
2019-06-25 08:01:46 -04:00
Hal Deadman
52274f828f
Merge pull request #251 from inghamn/patch-1
...
Prioritize X-Forwarded-Host when choosing the service parameter
2019-05-29 19:15:12 -04:00
Renovate Bot
c6a46da7fa
Update dependency org.apache.maven.plugins:maven-jar-plugin to v3
2019-04-30 19:40:11 +00:00
Renovate Bot
0e333ec040
Update dependency log4j:log4j to v1.2.17
2019-04-30 09:39:34 +00:00
LELEU Jérôme
abacb75df2
Handle encrypted PGTs ( #260 )
...
* Handle encrypted PGTs
* add tests
* stick to Java 6 and use commons-codec for Base64
* Remove the encrypted PGT after a PGT has been retrieved
* use Bouncycastle to load PEM files
* update to latest BC dependency
2019-04-03 13:53:09 +02:00
Jérôme LELEU
58de00e34b
Support the method parameter
2019-03-13 09:15:07 +01:00
Misagh Moayyed
86b93cbb26
clean up
2019-01-31 01:43:33 -07:00
Misagh Moayyed
cc756cb72d
update readme; add full-regex
2019-01-31 01:39:55 -07:00
tsschmidt
f06895bc18
Refactored and added unit test.
2019-01-24 16:31:54 -08:00
tsschmidt
18d981efaa
Refactor
2019-01-23 10:24:01 -08:00
tsschmidt
080405b4c0
Extract inlined CAS attributes in protocol 3 Ticket Validator
2019-01-23 08:26:35 -08:00
Cliff Ingham
2b1b7a142a
Prioritize X-Forwarded-Host when choosing the service parameter
...
Use X-Forwarded-Host whenever it's available.
2018-12-14 16:28:55 -05:00
Dmitriy Kopylenko
ba50664582
[maven-release-plugin] prepare for next development iteration
2018-11-01 10:32:59 -04:00
Dmitriy Kopylenko
bafe64e7cd
[maven-release-plugin] prepare release cas-client-3.5.1
2018-11-01 10:32:53 -04:00
Joshua Smith
c39735729d
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
1d4312b64f
Rename logoutPath to logoutCallbackPath
2018-07-25 13:07:29 -06:00
Misagh Moayyed
af78b8703f
Merge branch 'master' into issue-210-preserve-entity-stream-for-non-logout-requests
2018-07-25 10:25:51 +04:30
Matt Drees
c5d1b1ef84
Stop using "matches" terminology
2018-07-24 16:07:44 -06:00
Matt Drees
40dcc8b34a
Move utility method to CommonUtils
2018-07-24 15:19:01 -06:00
Matt Drees
ba5982e1eb
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
b6f6b5de76
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
93561a297f
Merge pull request #178 from jalios/master
...
Fix #177 Every other request incorrectly gatewayed
2018-07-25 00:24:13 +04:30
Matt Drees
306ec75569
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
a061764ca1
fix tests
2018-07-17 11:50:10 +04:30
Misagh Moayyed
7fbac753ee
fix tests
2018-07-17 11:42:41 +04:30
Misagh Moayyed
15100f3c39
fix tests; adjust log levels for tests
2018-07-17 11:33:03 +04:30
Misagh Moayyed
3875c39a21
handle un-encoded query strings in url parameters
2018-01-31 14:11:00 +03:30
Dmitriy Kopylenko
b208e94b93
[maven-release-plugin] prepare for next development iteration
2018-01-12 11:56:32 -05:00
Dmitriy Kopylenko
c00da6bb81
[maven-release-plugin] prepare release cas-client-3.5.0
2018-01-12 11:56:28 -05:00
Misagh Moayyed
c06facd9e1
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
f341f50cd5
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
f9202b9a8a
Improve error logging when getting response fails
2017-06-02 10:59:16 -04:00
Misagh Moayyed
ccf8e718b2
Apply changes after code review by @serac
2017-06-01 21:03:51 -04:00
leleuj
6f84cc2356
merge with master
2017-05-24 08:36:57 +02:00
Misagh Moayyed
f5a0ee6987
Merge pull request #187 from Unicon/Frontchannel-slo
...
Handle front-channel SLO
2017-05-22 12:25:15 -04:00
Misagh Moayyed
dfb13e5397
add test cases
2017-05-18 14:09:11 -07:00