Commit Graph

341 Commits

Author SHA1 Message Date
Misagh Moayyed c50b143c3f CASC-180: Removed the default url connection factory, allowed proxy retrieval to use the configured factory instance. 2013-03-06 09:34:39 -07:00
Misagh Moayyed c970d5b68d CASC-180: Fix the issue with casting to http url connections and provide a default instance for the http url factory. 2013-03-04 14:17:55 -07:00
Misagh Moayyed 035c946c8d CASC-180 - Add support for Client Side Certificates
Moved url connection factory interface and its https impl into the ssl package.
2013-01-24 15:47:22 -07:00
Misagh Moayyed 442b9ab5be Fixed javadoc for unused parameter. 2013-01-24 12:07:22 -07:00
Misagh Moayyed 62f9058b78 CASC-180 - Add support for Client Side Certificates
In order to utilize client side certificates, this commit facilitates the creation of a SSLSocketFactory on HttpsURLConnection for the client. The configuration is encapsulated inside a url factory instance that applies the adjustments where necessary.

This commit is continuation of the posted pending pull on github that is at:
https://github.com/Jasig/java-cas-client/pull/26

...and applies the suggestions and fixes that were brought to light during the code review.
2013-01-24 12:01:47 -07:00
Scott ed0446f24e Merge pull request #35 from battags/CASC-202
CASC-202 Migrate Commons Logging to SLF4J

Migrated to SLF4J, updated License header to match main CAS project, and re-ran script.
2013-01-15 19:06:54 -08:00
Scott Battaglia 25e2b6c696 Fix formatting of pom.xml and update licensing to match CAS project. 2013-01-15 22:04:16 -05:00
Scott Battaglia 485cc2116b CASC-202
convert Commons Logging to SLF4J.  Add Enforcer.
2013-01-11 23:25:52 -05:00
Scott Battaglia a2be7e030c CASC-202
migration to SLF4J
2013-01-11 22:23:49 -05:00
Scott Battaglia 27aa7c71f6 Merge branch 'master' into CASC-202 2013-01-08 23:34:01 -05:00
Scott Battaglia 92db0adf6b CASC-202
migrated some to SLF4J
2013-01-08 23:32:35 -05:00
Scott bb4a563940 Merge pull request #34 from battags/CASC-179
CASC-179
2013-01-08 05:18:40 -08:00
Scott 4557cf2f5b Merge pull request #32 from battags/CASC-196
CASC-196
2013-01-08 05:17:09 -08:00
Scott Battaglia 8ace78cbf8 CASC-196
re-add support for multi-valued attributes
2013-01-07 23:10:24 -05:00
Scott Battaglia f9b2bbf43f Merge branch 'master' into CASC-196 2013-01-07 22:56:07 -05:00
Scott Battaglia 7dedd078f7 CASC-179
added parameter to determine whether to create sessions.  Also, now properly does a return.
2013-01-07 22:51:45 -05:00
Scott dca9b6d260 Merge pull request #28 from battags/CASC-192
CASC-192
2013-01-07 06:22:28 -08:00
Scott 7e8c2a6c97 Merge pull request #30 from battags/CASC-168
CASC-168
2013-01-07 05:02:05 -08:00
Scott 53247ac253 Merge pull request #29 from battags/CASC-191
CASC-191
2013-01-07 05:01:51 -08:00
Scott 321d2b3431 Merge pull request #27 from battags/CASC-195
CASC-195
2013-01-06 21:02:08 -08:00
Scott e552252b68 Merge pull request #33 from battags/master
NOJIRA fix minor missing final tags and javadoc.
2013-01-06 20:58:03 -08:00
Scott Battaglia 29bd700bb4 NOJIRA fix minor missing final tags and javadoc. 2013-01-06 23:56:24 -05:00
Scott Battaglia 866ead7ddc CASC-196
real XML parsing example if using <cas:attributes>.  Updated tests to make sure it works if there are line breaks.
2013-01-06 23:40:46 -05:00
Scott Battaglia 5017ecb87b CASC-168
added ability to specify class name in order to use a sub-class.
2013-01-06 19:36:37 -05:00
Scott Battaglia cec2e8e463 CASC-191
isValid method with simple implementation
2013-01-06 18:45:05 -05:00
Scott Battaglia cb27ee1bf5 CASC-192
cast to XSAny in order to actually get the text content.
2013-01-06 18:24:11 -05:00
Scott Battaglia e86cf7518e CASC-195
null check in ProxyGrantingTicketStorageImpl.
2013-01-06 18:14:42 -05:00
Scott 1a6c1aa002 Merge pull request #24 from mmoayyed/CASC-199
CASC-199: Allow for an additional option to exclude empty proxy chains.
2012-12-29 13:54:01 -08:00
Misagh Moayyed 8cdf8295f2 CASC-199: Allow for an additional option to exclude empty proxy chains. 2012-12-10 21:10:10 -07:00
Scott e75eb8d388 Merge pull request #23 from dodok1/master
properly support Confluence 3.5 - 4.3
2012-11-11 15:38:00 -08:00
Jozef Kotlar 6acc6f71a0 minor change digged out of DefaultAuthenticator 2012-11-05 20:59:56 +01:00
Jozef Kotlar 5db2d5e378 implemented authentificator for Confluence 3.5 for newer Seraph/Crowd infrastructure
- using getUserFromSession()
- propagating event
- based on https://bitbucket.org/jaysee00/example-confluence-sso-authenticator
- based on comment from https://jira.atlassian.com/browse/CONF-26547
2012-10-30 14:28:35 +01:00
Scott 7a5c8d5259 Merge pull request #20 from ecki/topic-ignorebin
.gitignore Eclipse's .project default output bin/ directory.
2012-10-06 05:37:59 -07:00
Bernd Eckenfels c85ce9c9c1 .gitignore Eclipse's .project default output bin/ directory. 2012-10-04 04:53:41 +02:00
Marvin S. Addison b565b3f079 Merge pull request #18 from battags/CASC-188
CASC-188 Provide Support for Wildcard Roles
2012-09-21 06:51:16 -07:00
Scott Battaglia 5dc1b363c9 CAS-188
provide default Tomcat behavior
2012-09-20 22:20:48 -04:00
Scott 1ff96f757f Merge pull request #16 from ecki/topic-redirectfix
make default value of useRedirect visible. Add some JavaDoc
2012-09-20 19:19:04 -07:00
Bernd Eckenfels b4845cabd6 Corrected JavaDoc (force if useSession=false force redirect=false) 2012-09-21 04:11:22 +02:00
Bernd Eckenfels 1ebab8755c make default value of useRedirect visible. Add some JavaDoc for the
options.
2012-09-21 01:32:06 +02:00
Scott 8e9ddebce1 Merge pull request #13 from serac/casc-166
CASC-166 Fix race condition in cached assertion cleanup.
2012-08-01 18:59:09 -07:00
Marvin S. Addison e2e374d14d CASC-166 Address code review feedback.
Use ConcurrentHashMap to avoid explicit synchronization.
Use TimeUnit to allow more user-friendly configuration of the units of the cache timeout (e.g. MINUTES, SECONDS) and rename option from cacheTimeoutUnits to cacheTimeoutUnit for consistency.
2012-07-26 10:25:06 -04:00
Marvin S. Addison 0ff39cc542 CASC-166 Fix race condition in cached assertion cleanup.
Perform assertion cleanup on same thread as JAAS module invocations to ensure that cleanup of expired assertions occurs before the cache is interrogated. A verifying test case accompanies this fix. The test case required a new module option, cacheTimeoutUnits, in order to complete on a time scale suitable for unit tests.
2012-07-25 16:58:36 -04:00
Misagh Moayyed 02ef9596d9 Merge pull request #12 from battags/CASC-185
CASC-185 - Merged.
2012-07-25 09:34:46 -07:00
Scott Battaglia 03e552cf39 CASC-185
add authentication time to assertion and also actually use the validity period for Assertion.
2012-07-24 23:01:35 -04:00
Scott f509802b1d Merge pull request #11 from battags/CASC-169
CASC-169
2012-07-24 19:40:31 -07:00
Scott Battaglia 0adcbcfc0a CASC-169
change to hashmap to allow values to be added
2012-07-24 22:39:06 -04:00
Scott f40d38c1a3 Merge pull request #9 from battags/CASC-184
CASC-184 - upgrade to OpenSAML2, update XML parsing to work with old and new server code.
2012-07-24 19:15:34 -07:00
Scott Battaglia 082aafa9ca CASC-184
improved SAML support.  Also execute old AND new XML in the unit tests.

cr for the first round of changes: serac
2012-07-24 22:13:25 -04:00
Scott Battaglia 67999a7bf2 CASC-184
upgrade to OpenSAML2
2012-07-23 22:09:09 -04:00
Scott 2f3759290c Merge pull request #8 from mmoayyed/CASC-182-1
CASC-182 - reset the redirectAfterValidation parameter to false when use...
2012-07-11 10:14:33 -07:00