Commit Graph
71 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 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 4dd9f10e2c removed further deprecations by switching imports from junit.* to org.junit 2018-12-10 03:46:28 +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
Steffen Schaefer 623c939d13 Removed unnecessary duplicate drop of PREFERENCES DB collection for
tests
2016-07-19 09:37:52 +02:00
Steffen Schaefer 2db23155db Using Collection.isEmpty instead of Util.isEmpty 2016-07-19 09:34:04 +02:00
Steffen Schaefer 6e9aa7d815 Added missing final modifier 2016-07-19 09:34:01 +02:00
Steffen Schaefer 00d0a74c51 Removed Util.equals where we are sure that the returned collection types
are equal so that a simple assertEquals will work
2016-07-19 09:33:57 +02:00
Steffen Schaefer b741d72f91 Added a test to verify that common masterdata fields of User are
correctly stored
2016-07-13 13:29:20 +02:00
Steffen Schaefer 5847b016ce Extended User to have an optional locale field to store the user's
language preference
2016-07-13 13:26:34 +02:00
Steffen Schaefer 662e1e2002 Renamed method to make more clear what's happening 2016-07-12 11:07:28 +02:00
Steffen Schaefer e7bf7846d7 Skip users without verified email address when sending notifications 2016-07-12 11:05:24 +02:00
Steffen Schaefer f5c359b64e Added tests to verify the PreferenceConverter removal in UserStore 2016-07-11 12:37:32 +02:00
Steffen Schaefer d9ac7d5ab8 Code quality improvements for several tests 2016-07-07 10:49:31 +02:00
Steffen Schaefer 9475d30ef2 Added new test case regarding correct removal of preferences on user
deletion
2016-07-07 10:49:28 +02:00
Steffen Schaefer aaa04bb2fb Added failing tests to verify that preferences are currently not
correctly removed when a user is being deleted
2016-07-07 10:49:20 +02:00
Steffen Schaefer 7ecc533f8e Added a failing test to verify that getUserByEmail currently throws a
NullPointerException if there is no user for a given email address
2016-07-07 10:49:13 +02:00
Steffen Schaefer 13467a2eee Added tests to check that UserStore and MongoDB persistence is in sync 2016-07-07 10:49:09 +02:00
Steffen Schaefer c80bca9c87 Renamed methods to make more clear what they are used for 2016-07-06 09:45:21 +02:00
Steffen Schaefer 38733e7502 Renamed methods to make more clear what they are used for 2016-07-06 09:45:09 +02:00
Steffen Schaefer 1b64101140 Added more tests for PreferenceObjectBasedNotificationSet 2016-07-06 09:06:09 +02:00
Steffen Schaefer ee5eda7ff0 More tests for preference object handling and notification set
calculation
2016-07-05 18:47:48 +02:00
Steffen Schaefer 0f93d35bcf Added initial tests for PreferenceObjectBasedNotificationSet 2016-07-05 18:28:31 +02:00
Steffen Schaefer bc81c1c35d Added initial tests for preference object handling and conversion in
UserStore
2016-07-05 17:47:09 +02:00
Axel Uhl 63ecb41944 fixed bug3599, tests now pass
Change-Id: Ifffdc82c0b8705440de635c48ce4b90571cb0096
2016-04-14 19:04:14 +02:00
Axel Uhl 8781eefbeb added second fialing test case for user store
Change-Id: Iaaa502113b89689aac04267fe5ea158230d5cee4
2016-04-14 18:41:33 +02:00
Axel Uhl 426a944f3b first failing test case that shows that the UserStore doesn't clear the userByAccessToken structure in its clear() method
Change-Id: Id93bdbcc16a6f94c08547fa596685dfbe04cdb8a
2016-04-14 18:30:55 +02:00
Axel Uhl e1e5054e32 started adding a failing test case for bug3599 2016-04-14 18:22:54 +02:00
Axel Uhl 089bcf997b added test for access token removal
Change-Id: I392b435e81e920818a0f3615ec289050e663abc6
2016-03-02 11:01:51 +01:00
Axel Uhl 44c37b4c32 fixed SecurityResourceTest, now removing existing token when requiring creation of new one
Change-Id: I1e8a5be5f7659ba0bff2841bed02033139de1b8a
2016-03-02 10:59:54 +01:00
Axel Uhl 21f76c6dc4 obsolete old bearer access token when a new one is obtained for the subject 2015-02-25 14:36:01 +01:00
Axel Uhl 6076f03c60 enhanced logon procedures and fixed test cases 2015-02-25 00:53:43 +01:00
Axel Uhl 87d11f969c added UserDTO.getAllPermissions(PermissionsForRoleProvider) which accepts the same provider as Shiro in the back-end 2015-02-18 22:22:22 +01:00
EC2 Server 608fe30d3f removed obsolete import 2015-02-15 22:48:23 +00:00
EC2 Server 1f5abc3af9 fix test thread's context class loader to enable finding realm class by Shiro 2015-02-15 22:47:16 +00:00
Axel Uhl 39b1c55a88 made compileable after master mergeMerge branch 'master' into ftes-mail-move-to-sse
Conflicts:
	java/com.sap.sailing.server/SailingServer (No Proxy).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Cached MTB).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889, Cached MTB).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8890).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, winddbTest).launch
	java/com.sap.sailing.server/SailingServer (Proxy).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Jetty on 8889).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (Proxy, SwissTiming Live Simulation).launch
	java/com.sap.sailing.server/SailingServer (Proxy, winddbTest).launch
	java/com.sap.sse.security.test/META-INF/MANIFEST.MF
	java/com.sap.sse.security.test/src/com/sap/sse/security/test/LoginTest.java
	java/com.sap.sse.security/src/com/sap/sse/security/impl/Activator.java
	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2015-02-14 21:23:24 +01:00
Axel Uhl 1242bdfd01 fixed missing @Ignore import 2015-02-14 17:21:21 +01:00
Axel Uhl 6bf7a35e55 ignore SecurityResourceTest.createAccessTokenAndAuthenticate for now on master 2015-02-14 08:00:41 +01:00
Axel Uhl 971b9e0d1e added tests for REST API permission checking 2015-02-13 14:40:50 +01:00
Axel Uhl d041cece0c implemented AccessTokenRealm and added a first simple test case 2015-02-13 14:22:33 +01:00
Axel Uhl dabd2d3a98 fixed initialization of SecurityResourceTest whose first test around access token retrieval is now green 2015-02-13 13:52:05 +01:00
Axel Uhl 412ee455ba un-ignore breaking test on branch 2589 again 2015-02-13 13:17:57 +01:00
Axel Uhl c55ae812fb ignore failing SecurityResourceTest for now on master 2015-02-13 12:41:25 +01:00
Axel Uhl 0800cab32a started with access token / REST security; test case read 2015-02-13 11:43:50 +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