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
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
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
Yasuhiro Takada
2f7729a892
fix missing parameter key in service url when parameter value not provided.
2017-04-17 19:22:41 +09:00
Misagh Moayyed
6be07281d5
Fixed test cases
2016-09-09 16:22:32 +04:30
Misagh Moayyed
7db200e8c6
Updated front-channel SLO handling
2016-09-09 16:14:06 +04:30
Misagh Moayyed
9e95ee5825
Handle date equality when checking for saml assertion validity
2016-09-07 16:10:16 +04:30
Misagh Moayyed
9d4cafd2c9
Let assertion validity checks to be more flexible
...
when comparing dates.
2016-09-07 15:47:04 +04:30
Olivier Jaquemet
b4d9570bdc
Fix #177 Every other request incorrectly gatewayed
...
- ensure behavior of gateway is predictable (reentrant)
2016-08-09 10:27:27 +02:00
Marvin S. Addison
53dbb48882
Issue #152 Jetty container-based authn.
2016-02-11 14:53:14 -05:00
Scott
346374ebc8
CASC-127 Remove Commons Codec Dependency
...
Problem: We rely on Commons Codec for some simple Base64 decoding/encoding, most of which is available in Java 1.6+
Solution: Set minimum version to Java 1.6 and rely on provided methods.
QA Notes: Unit tests pass
2015-11-18 21:58:06 -05:00
Scott
8067714256
Added missing license headers.
2015-09-13 00:11:09 -04:00
Scott
85b0454e8d
Merge pull request #133 from battags/131
...
Issue #131 - ConfigurationStrategyName does not Properly Resolve Cust…
2015-09-10 09:27:08 -04:00
Scott
2eb132c0b4
Issue #131 - ConfigurationStrategyName does not Properly Resolve Custom classes
...
Problem: The assignable check was reversed, always resulting in a false return value.
Solution: Add test to confirm failure and then swap check. Unit tests pass.
2015-09-09 23:30:53 -04:00
Misagh Moayyed
1f3a745ec8
overload constructServiceUrl to keep backward compatibility
2015-08-19 02:28:20 -07:00
Misagh Moayyed
618a99a245
URIBuilder test cases
2015-08-12 12:36:50 -07:00
Xu Huisheng
69bba0c21a
When serverName contains schema, the URIBuilder will throw an UnsupportedOperationException while adding a parameter.
2015-08-04 18:20:31 +08:00
Scott
0a7ffac846
Merge pull request #66 from Unicon/CASC-210
...
CASC-210: Added support for having regex expressions in the proxy (chaining) list.
2015-07-07 17:10:05 -04:00
John Gasper
f98e776869
casc-210: Merge branch 'master' of https://github.com/jasig/java-cas-client into CASC-210
...
Resolved Conflicts:
cas-client-core/src/main/java/org/jasig/cas/client/validation/ProxyList.java
2015-06-16 12:09:37 -07:00
Misagh Moayyed
f68281d0e4
added uri builder to construct query params
2015-05-13 03:44:13 -07:00
Marvin S. Addison
1edef62ecb
Issue #100 Isolate JodaTime to SAML module.
2015-05-11 12:01:48 -04:00
Marvin S. Addison
d8980535b7
Move SAML components into separate module.
2015-04-14 16:19:12 -04:00
Marvin S. Addison
e998985732
SAML validation with XPath instead of OpenSAML.
2015-02-20 09:18:05 -05:00
LELEU Jerome
bec0e6bb2e
Issue-91: Introduce system properties configuration option
...
First commit
2015-01-05 17:19:40 +01:00
Scott
ec92d97518
Added license headers
2014-12-22 23:55:23 -05:00
Scott
d1da02f457
CASC-231 HttpsURLConnectonFactory is Not Serializable
...
Problem: THe HttpsURLConnectionFactory is not serializable, causing problems for clients that must serialize
the principal (which depends on a ProxyRetriever).
Solution: Make the HttpsURLConnectionFactory serializable.
QA Notes: added unit test to confirm serialize-deserialize
2014-12-07 13:32:14 -05:00
Scott
d7ca6a098e
Merge pull request #87 from battags/CASC-233
...
CASC-233 ErrorRedirectFilter Can throw Null Pointer Exception
2014-12-07 12:13:27 -05:00
Scott Battaglia
51a9192792
CASC-233 ErrorRedirectFilter Can throw Null Pointer Exception
...
Problem: the ErrorRedirectFilter assumes there is a root cause and will null pointer if there is not.
Solution: Only use the root cause if there is one, otherwise use the original exception.
QA Notes: Added unit test to confirm non-root cause error.
2014-11-20 16:29:29 -05:00
Scott Battaglia
c7e66d7df2
Unused reference to Mockito
2014-11-20 16:03:19 -05:00
Scott Battaglia
461cdcd8fc
CASC-200 Create a ConfigurationStrategy to allow for pluggable configurations.
...
Problem: The lookup strategy for configuration is hard-coded into the filter, making it impossible to replace or expand.
Solution: Pull the strategies into their own classees and make it configurable. Default to the previous strategy.
QA Notes: The current unit tests work. New unit tests for the configuration will have to be added once the design is approved.
2014-11-20 15:30:38 -05:00
Scott Battaglia
d191ac8ee6
Added missing license header.
2014-08-03 00:03:25 -04:00
Scott Battaglia
9de2be91a2
CASC-228 URL Encode Paramaters Passed to Server via Validate
...
Problem: We currently don't pass encoded values to the server, possibly resolving in parsing/extraction errors.
Solution: URL Encode all values instead of just the service url.
QA Notes: Added unit test.
2014-06-24 18:44:45 -04:00
Scott Battaglia
a44b4c1229
Removed no-longer valid test.
2014-05-06 23:17:32 -04:00
John Gasper
7ac4c7afb7
Merge branch 'master' of https://github.com/jasig/java-cas-client into CASC-210
2014-04-11 15:17:29 -07:00
LELEU Jerome
4a0e960c32
CASC-220: Support front channel SLO logout
...
Updates after Marvin's code review
2014-04-01 16:46:19 +02:00
Jérôme LELEU
7069a4f6fb
CASC-220: Support front channel SLO logout
...
Update after Scott's code review
2014-03-27 21:02:30 +01:00
Jérôme LELEU
6aa2379268
CASC-220: Support front channel SLO logout
...
Updates after Misagh's code review
2014-03-21 14:10:33 +01:00
unknown
9714053f07
Merge remote-tracking branch 'upstream/master' into CASC-220
2014-03-18 08:16:29 +01:00
Misagh Moayyed
286105266f
Merge pull request #67 from battags/CASC-214
...
CASC-214 Improve Service Url Construction to Add Non-Standard Ports
2014-03-17 09:15:29 -07:00
LELEU Jerome
9b33321cc2
CASC-220: Support front channel SLO logout
...
specific front logout parameter + Tomcat valves update
2014-03-14 10:52:42 +01:00
LELEU Jerome
47f825871e
CASC-220: Support front channel SLO logout
...
First commit
2014-03-13 19:03:41 +01:00
Misagh Moayyed
d2b93a237f
CASC-219: added exact-matcher strategy
2014-03-13 08:26:22 -07:00