Commit Graph
85 Commits
Author SHA1 Message Date
Axel Uhl 6dcd7d4187 bug6127_2024-12: adjusted JUnit dependencies in MANIFEST.MF files to downgraded versions 2025-07-07 11:33:18 +02:00
Axel Uhl 617400dc50 bug6135: fixed compile issues after latest refactoring 2025-07-03 15:27:15 +02:00
Axel Uhl 538f605af3 bug6135: fixed SecurityService tracker mock pass-through for MediaReplicationTest 2025-07-03 15:18:52 +02:00
Axel Uhl 3138f7745f bug6127: refactored more test fragments to JUnit5 2025-06-05 17:21:26 +02:00
Axel Uhl faf71f55a7 bug6127: first step migrating tests from JUnit4 to JUnit5 2025-06-05 17:21:25 +02:00
Axel Uhl 5910783be3 bug6104: tests can be exempted from strong password requirements 2025-03-24 21:57:45 +01:00
Axel Uhl b97ace3db0 bug6097: apply same mechanism for user creation per IP locking as for failed bearer token-based authentication 2025-03-19 14:17:35 +01:00
Axel Uhl c62560a4f5 bug6099: wait for user to get unlocked after testing incorrect password 2025-03-17 22:03:21 +01:00
Axel Uhl 122747b803 bug6099: added TODO regarding bearer token failure throttling 2025-03-17 21:47:55 +01:00
Axel Uhl c1922e8068 bug6101: added persistence to CORS filter configuration 2025-03-12 11:25:46 +01:00
Wessels, Udo (PPN) 2b66121265 bug5910: remove not supported line in .project files so that current Eclipse version (2023-09) can import the projects. 2023-10-09 18:00:50 +02:00
Axel Uhl a6363406be bug5792: introduce org.hamcrest-2.2.0, remove gwt-dev deps 2022-12-12 06:18:51 -08:00
Finn Huelsbusch d888c1fad9 added configuration for eclipse 2022-06 and updated the onboarding 2022-07-07 16:51:33 +02:00
Dennis Aulenbacher f128b675de Merge branch 'master' into bug5510 2021-09-08 10:18:18 +02:00
Axel Uhl 829568a871 mongo42driver: made compilable; let's see what Hudson says this time 2021-08-27 00:16:50 +02:00
Axel Uhl 370d23b983 mongo42driver: uncompilable interims commit with *-legacy bundle removed from our bundle dependencies;
this produces lots of compilation errors, mostly because of MongoClientURI replaced by ConnectionString
2021-08-26 23:29:35 +02:00
Axel Uhl bc3ff2fd8c Starting with MongoDB driver update to 4.3.1 2021-08-25 18:56:05 +02:00
Dennis Aulenbacher c4b9bbcd84 Merge branch 'master' into bug5510
Conflicts:
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
	java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/client/AbstractSecureEntryPoint.java
2021-07-05 10:32:00 +02:00
Axel Uhl 2c622e5b45 patched <!DOCTYPE projectDescription> into all project files to avoid info/warning in problems view about no grammar constraint 2021-06-19 12:45:03 +02:00
Dennis Aulenbacher 4fa59573c6 bug5510: reintroducing 5510 changes after revert on master 2021-04-26 18:17:37 +02:00
Axel Uhl 0d2ebb540f bug5230: worked on improving the new test cases that check HasPermissionsProvider requirement on SecurityService and user/group deletion regarding qualified roles 2021-04-21 13:42:57 +02:00
Dennis Aulenbacher 7f015ec693 bug5230: Introduced replication test for Role related operations 2021-03-22 14:14:03 +01:00
Dennis Aulenbacher 779fb6136f bug5230: Removed all SecurityServiceImpl constructors allowing null as
hasPermissionsProvider
2021-03-15 16:17:37 +01:00
Dennis Aulenbacher a7168e03bb bug5239: introduced new SuperClass Exception for UserStore Exceptions 2020-09-01 12:56:55 +02:00
Axel Uhl ea5b77b563 removed empty lines# Your branch is up to date with 'server/bug5197'. 2020-03-24 11:14:48 +01:00
Axel Uhl 41ab2673c4 bug5194: started by fixing a bad bug causing outbound messaging to stop;
when de-registering a replica that caused one or more replicables to no
longer be observed, the outbound queue was prematurely closed and set to
null. For example, if one replica replicated the full server and another
one only the SecurityService, and then the full replica was
unregistered, sending security-related operations stopped even though a
replica was still registered.
2020-02-04 18:45:53 +01:00
Axel Uhl 99a04487b1 bug5193: adjusting server group in UserStore after receiving initial load 2020-02-03 18:47:06 +01:00
Axel Uhl e5e0d13201 reverted accidental type changes from SecurityServiceImpl to SecurityService where inappropriate 2019-11-28 11:20:26 +01:00
Axel Uhl 53f61a2e7a added more test data; factored the -tenant suffix into a constant 2019-11-25 17:24:51 +01:00
Axel Uhl 89e8bef9c8 Revert "removed PluginNature from our OSGi bundles; they are not Eclipse plugins";
according to https://bugs.eclipse.org/bugs/show_bug.cgi?id=544977#c21 the
scenario of using the ManifestBuilder without setting the PluginNature is
not a supported scenario. Besides, it doesn't help to get rid of the new
Eclipse warning regarding non-exported packages.

This reverts commit 063484e29f.
2019-05-28 21:54:20 +02:00
Axel Uhl 063484e29f removed PluginNature from our OSGi bundles; they are not Eclipse plugins 2019-05-27 22:53:30 +02:00
Steffen Schaefer f1bce79592 Moved several classes from com.sap.sse.security to
com.sap.sse.security.interface to allow
com.sap.sse.security.userstore.mongodb to to depend on
com.sap.sse.security anymore
2019-02-14 08:27:28 +01:00
Steffen Schaefer 8bedd4f886 Fixed initialization of UserStore in test cases after the initialization
was changed to not be done implicitly in the constructor anymore
2019-01-28 13:22:18 +01:00
Steffen Schaefer 42ea70f2aa Merge branch 'master' into permission-vertical
Conflicts:
	java/com.sap.sailing.domain.persistence/META-INF/MANIFEST.MF
	java/com.sap.sailing.domain.swisstimingadapter.persistence/META-INF/MANIFEST.MF
	java/com.sap.sailing.domain.swisstimingadapter.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.domain.tractracadapter.persistence/META-INF/MANIFEST.MF
	java/com.sap.sailing.server.replication.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.server.testsupport/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/META-INF/MANIFEST.MF
	java/com.sap.sse.security.persistence/META-INF/MANIFEST.MF
	java/com.sap.sse.security.test/META-INF/MANIFEST.MF
	java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF
2019-01-28 09:58:30 +01:00
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
Kai Börnert 8bac619d5e changed clearState to properly reinitialize all security related
services to the state a clean server startup would create
2019-01-17 15:06:20 +01:00
Kai Börnert 6b09b095f0 adjusted non Selenium Tests to userStore startup changes 2019-01-17 12:12:36 +01:00
Kai Börnert cd2eafc80e adjusted securityservice to allow different ownerTenant for
createSimpleUser than the default one.
2018-12-18 10:08:53 +01:00
Steffen Schaefer 1e00d2d194 Merge branch 'master' into permission-vertical
# Conflicts:
#	java/com.sap.sailing.domain.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.racelogtrackingadapter/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
#	java/com.sap.sailing.domain.swisstimingadapter.test/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.tractracadapter.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.tractracadapter.persistence/src/com/sap/sailing/domain/tractracadapter/persistence/impl/MongoObjectFactoryImpl.java
#	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/DataMiningServiceImpl.java
#	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
#	java/com.sap.sailing.polars.datamining/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server.gateway.test/src/com/sap/sailing/server/gateway/test/jaxrs/AbstractJaxRsApiTest.java
#	java/com.sap.sailing.server.interface/src/com/sap/sailing/server/interfaces/RacingEventService.java
#	java/com.sap.sailing.server.replication.test/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/TrackRaceReplicationTest.java
#	java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/TaggingServiceTest.java
#	java/com.sap.sailing.server.testsupport/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
#	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
#	java/com.sap.sailing.server/src/com/sap/sailing/server/tagging/TaggingServiceImpl.java
#	java/com.sap.sse.mail.replication.testsupport/src/com/sap/sse/mail/replication/testsupport/AbstractMailServiceReplicationTest.java
#	java/com.sap.sse.security.test/META-INF/MANIFEST.MF
#	java/com.sap.sse.security.test/src/com/sap/sse/security/jaxrs/api/SecurityResourceTest.java
#	java/com.sap.sse.security.test/src/com/sap/sse/security/test/UserStoreWithPersistenceTest.java
#	java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/MongoObjectFactory.java
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/DomainObjectFactoryImpl.java
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java
#	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2018-12-17 14:36:37 +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
Kai Börnert 561a938a65 further restructuring of dto classes 2018-11-29 14:56:25 +01:00
Kai Börnert 3d49644443 cleaned up dtos a little 2018-11-28 09:49:33 +01:00
Kai Börnert 4c7eac55e8 simplified and fixed default tenant handling for createUser 2018-11-12 16:56:40 +01:00
Axel Uhl 3186d02711 made tests, particularly replication tests, green again
Change-Id: I493aec5ac3ea3f1bd6b1a1fd95b8ddd349ce4198
2018-05-17 18:38:00 +02:00
Axel Uhl 2368f0640a removed Tenant type and replaced by UserGroup everywhere
Change-Id: I9992c376bf78ef61c0a6b621dfc029748007b29e
2018-05-16 17:26:43 +02:00
Axel Uhl 806a4d5c28 Merge branch 'master' into permission-vertical 2018-03-30 23:03:03 +02:00
Axel Uhl bd90f921dd added Automatic-Module-Name headers to satisfy Oxygen.3 Java9 warnings rule 2018-03-24 01:45:37 +01:00