Commit Graph

119 Commits

Author SHA1 Message Date
Marvin S. Addison 71a6113b73 Issue #152 Jetty container-based authn. 2016-02-11 14:53:14 -05:00
Scott fb8c14fc84 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 481422365a Added missing license headers. 2015-09-13 00:11:09 -04:00
Scott bedc4f3c27 Merge pull request #133 from battags/131
Issue #131 - ConfigurationStrategyName does not Properly Resolve Cust…
2015-09-10 09:27:08 -04:00
Scott 3dca4b395a 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 49fdccf81c overload constructServiceUrl to keep backward compatibility 2015-08-19 02:28:20 -07:00
Misagh Moayyed 3bb6daa3fb URIBuilder test cases 2015-08-12 12:36:50 -07:00
Xu Huisheng c03d7c7980 When serverName contains schema, the URIBuilder will throw an UnsupportedOperationException while adding a parameter. 2015-08-04 18:20:31 +08:00
Scott b052b1c322 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 4b98bb252e 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 be2a641473 added uri builder to construct query params 2015-05-13 03:44:13 -07:00
Marvin S. Addison 333ab96ba3 Issue #100 Isolate JodaTime to SAML module. 2015-05-11 12:01:48 -04:00
Marvin S. Addison 8038e69fc0 Move SAML components into separate module. 2015-04-14 16:19:12 -04:00
Marvin S. Addison cc46504126 SAML validation with XPath instead of OpenSAML. 2015-02-20 09:18:05 -05:00
LELEU Jerome fae996bde7 Issue-91: Introduce system properties configuration option
First commit
2015-01-05 17:19:40 +01:00
Scott a8dc2bdc7d Added license headers 2014-12-22 23:55:23 -05:00
Scott a7010659f1 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 a4d3cb77aa 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 3ea2c3a47e 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 bca2c5e52d Unused reference to Mockito 2014-11-20 16:03:19 -05:00
Scott Battaglia 603beabefc 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 e4d925c4ae Added missing license header. 2014-08-03 00:03:25 -04:00
Scott Battaglia ae37092100 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 795506f22b Removed no-longer valid test. 2014-05-06 23:17:32 -04:00
John Gasper a4af5684a0 Merge branch 'master' of https://github.com/jasig/java-cas-client into CASC-210 2014-04-11 15:17:29 -07:00
LELEU Jerome c3ee8b07c9 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 e3cd32cd25 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 f5c47b857b CASC-220: Support front channel SLO logout
Updates after Misagh's code review
2014-03-21 14:10:33 +01:00
unknown 33d39be658 Merge remote-tracking branch 'upstream/master' into CASC-220 2014-03-18 08:16:29 +01:00
Misagh Moayyed 0d83afcc97 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 8d43caa0c9 CASC-220: Support front channel SLO logout
specific front logout parameter + Tomcat valves update
2014-03-14 10:52:42 +01:00
LELEU Jerome 23a4abe3cb CASC-220: Support front channel SLO logout
First commit
2014-03-13 19:03:41 +01:00
Misagh Moayyed 4237e24bc0 CASC-219: added exact-matcher strategy 2014-03-13 08:26:22 -07:00
Misagh Moayyed 05570e4d18 CASC-219: changed exact to contains 2014-03-13 03:20:39 -07:00
Misagh Moayyed e18232e238 CASC-219: renamed matcher class to match behavior 2014-03-12 07:37:59 -07:00
Misagh Moayyed 1089e3de89 CASC-219: allowed extensions for ignoring urls 2014-03-11 05:04:59 -07:00
Misagh Moayyed 0fd2dbd659 CASC-219: updated javadocs and added map to keep track of pattern matchers 2014-03-11 04:24:27 -07:00
Scott Battaglia 1bcc4a1714 CASC-214 Improve Service Url Construction to Add Non-Standard Ports if Missing from Configuration
Problem: sometimes the port is missing from the configuration.  This generates the wrong service url.
Solution: Add the server port if the server configuration does not have one.
QA Notes: Added unit tests to confirm behavior (and old unit tests still pass)
2014-03-09 23:13:04 -04:00
Misagh Moayyed d62bf68eee CASC-219: Provide support for certain urls to be excluded from CAS filters. 2014-03-07 11:17:14 -07:00
Misagh Moayyed f55bae3b89 CASC-219: Provide support for certain urls to be excluded from CAS filters. 2014-03-07 01:52:50 -07:00
John Gasper 02d38e61ea no message 2014-03-05 10:54:34 -08:00
John Gasper 815948ce00 Minor corrections. 2014-03-05 10:45:35 -08:00
John Gasper 5d97bb0ac9 Added support for having regex expressions in the proxy (chaining) list. 2014-03-05 10:17:59 -08:00
Misagh Moayyed 1b4af19d70 CAS-219: Provide support for certain urls to be excluded from CAS filters. 2014-03-02 03:03:24 -07:00
Misagh Moayyed 8b3ac7922d CAS-219: Provide support for certain urls to be excluded from CAS filters. 2014-02-27 22:02:19 -07:00
Scott Battaglia ce852a19a4 CASC-203 Properly Parse Response to Keep Line Breaks
Problem: The CAS Client uses a buffer reader which strips out the returned line breaks.
Solution: Switch to a normal input stream reader and add appropriate test.
2014-02-17 23:09:32 -05:00
Scott Battaglia cb2957a1e2 Fixed license files 2014-01-05 23:04:03 -05:00
Scott Battaglia 427c2721e9 Added missing license headers 2014-01-05 22:53:17 -05:00
Marvin S. Addison f7343e5cb2 Remove cached assertions on logout to prevent credential replay attack. 2013-10-24 12:57:25 -04:00
Scott Battaglia 9a4275ee55 Renamed arguments 2013-06-20 19:28:35 -04:00