Commit Graph
33 Commits
Author SHA1 Message Date
Axel Uhl 878e5d9dd2 upgraded the MongoDB driver to version 3.6.4; upgraded target platform
Change-Id: I621d4af6d3a3b0bcbf70310f731153cacfecebfc
2019-01-25 16:46:46 +01:00
Axel Uhl 4c4752a748 extracted replication interfaces into separate bundle to avoid having to activate the replication service only for registering a replicable
Change-Id: I22e423efee06e653a9ed3b9bea13b3b0153f7156
2018-12-14 21:27:17 +01:00
Axel Uhl 9a08f9c9e9 fixed various DB handling after Mongo 3.x upgrade; made *.security.replication.test an eclipse-test-plugin
Change-Id: Ibbe80a15b6adce78c457a81009d387dbd74d9186
2018-12-11 12:56:50 +01:00
Axel Uhl 914be75f91 warning-free workspace after upgrading to MongoDB 3.x APIs, eliminating deprecation issues
Change-Id: I9773b899e140871f5fa4b865ca6d2116bf73c642
2018-12-10 23:22:20 +01:00
Axel Uhl d8c2cf8cd3 upgraded target platform to newer MongoDB driver from org.eclipse.orbit;
A 3.x driver is required to connect to Microsoft Azure Cosmos. Upgrading
the target platform accordingly requires further upgrades, including Hamcrest
and JUnit libraries. This, in turn, deprecates or obsoletes numerous APIs,
parts of which that caused compilation *errors* I've replaced by their new
counterparts. Several more warnings still remain and need to be tackled by
replacing the usages to their new counterparts.
2018-12-10 03:00:59 +01:00
Axel Uhl bd90f921dd added Automatic-Module-Name headers to satisfy Oxygen.3 Java9 warnings rule 2018-03-24 01:45:37 +01:00
Steffen Schaefer 9123771f34 normalized line endings 2017-05-16 09:42:02 +02:00
Steffen Schaefer dd5d1fc745 Using junit and hamcrest from orbit / adjustments for different junit
bundle ID
2016-11-24 13:29:02 +01:00
Axel Uhl 30b5b08017 added failing replication test case for bug3599
Change-Id: I68e9ff67e04d109dee547b4d3c9f75b75eed3b7d
2016-04-14 18:59:15 +02:00
Axel Uhl e1e5054e32 started adding a failing test case for bug3599 2016-04-14 18:22:54 +02:00
Benjamin Barth 842d64d5e5 Added parameters full name and company to
UserManagementService.createSimpleUser method
2016-01-21 16:28:04 +01:00
Axel Uhl fb3f74d297 added fields fullName and company to User
Change-Id: I831b2a229c29081aab8f79174caa8d1900303b67
2016-01-12 09:13:01 +01:00
Axel Uhl 4f18c1c366 use any free server port for replication servlet in test mode 2015-03-30 02:09:38 +02:00
Fredrik Teschke 1d99e6ba75 also add mail replication test that tests outside of SecurityService context 2015-02-13 20:59:11 +01:00
Fredrik Teschke 42e1411bb6 add replication test for mail service (could only test applying changes to master) 2015-02-13 20:30:32 +01:00
Fredrik Teschke de39d6a40a refactor AbstractServerReplicationTest to enable tests with multiple replicable services in future 2015-02-13 20:28:45 +01:00
Fredrik Teschke df3b798bda Merge remote-tracking branch 'origin/master' into ftes-mail-move-to-sse
Conflicts:
	java/com.sap.sse.security.test/META-INF/MANIFEST.MF
2015-02-13 08:26:24 +01:00
Axel Uhl 98d5235b47 upgraded all Mongo-using bundles to 2.13.0 driver 2015-02-12 16:00:15 +01:00
Fredrik Teschke c8d28b9cf0 remove calls to deprecated mongodb threading/concurrency methods
- excerpt from the API doc: "The main use case for this method is to ensure that applications can read their own unacknowledged writes, but this is no longer so prevalent since the driver started defaulting to acknowledged writes. The other main use case is to ensure that related read operations are all routed to the same server when using a non-primary read preference. But this is dangerous because mongos does not provide this guarantee. For these reasons, this method is now deprecated and will be removed in the next major release."
2015-02-11 13:05:41 +01:00
Fredrik Teschke c6b68ee17b move MailException to common bundle (needed by GWT) 2015-02-09 22:36:55 +01:00
Fredrik Teschke e004c433cc pull out mail functionality into own service and bundle
- needs to live outside com.sap.sse due to dependency on replication
- use mail.properties instead of security.properties
- introduced ServiceTrackerFactory, which led to refactorings in SailingServiceImpl and ~Mock
2015-02-09 21:03:50 +01:00
Axel Uhl ea6ce41f2a added replication for password reset; test case added 2014-11-21 21:24:22 +01:00
Axel Uhl f4a56842bb replicate only the storeUser operation from SecurityServiceImpl for now; it covers all changes to any User object; added tests 2014-11-21 21:15:53 +01:00
Axel Uhl a306239c3b implemented e-mail and password change as lambda operations on SecurityServiceImpl 2014-11-21 20:25:36 +01:00
Axel Uhl d842579e48 Refactored SecurityServiceImpl such that operations can be implemented as lambdas, seeing the ReplicableSecurityService extension with the internal methods 2014-11-21 20:15:55 +01:00
Axel Uhl 0b2fd9bdbc moved the serialization test for lambdas to OfflineSerializationTest 2014-11-21 19:59:20 +01:00
Axel Uhl 2248de0f72 added a test case that asserts that a lambda's enclosing object is serialized if and only if the lambda accesses it 2014-11-21 19:47:51 +01:00
Axel Uhl 772d5477bc added com.sap.sse.security.common which bundles security-related stuff that is shared by Java7 GWT projects as well as Java8 backend projects 2014-11-21 17:59:00 +01:00
Axel Uhl fd9a31cb56 moved UserManagementService[Async] from shared to client package 2014-11-21 17:05:08 +01:00
Axel Uhl 3363864804 added password validation to replication test 2014-11-21 12:34:08 +01:00
Axel Uhl b36b2e146f added missing pom.xml stuff for replication.testsupport 2014-11-21 12:28:03 +01:00
Axel Uhl 799fe16ed6 Shiro's SimpleByteSource isn't serializable. Changed to byte[] instead. Test frame for security replication seems to work now. 2014-11-21 11:21:44 +01:00
Axel Uhl 6fc64beb42 introduced replication test support bundle, factoring commonalities for abstract replication tests; started simple security replication test frame 2014-11-21 11:02:54 +01:00