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
Axel Uhl
c3a0188803
pulled through the UserStoreImpl loading with tenants/users/groups cycles
...
Change-Id: I3c1fbcd6944b8a7d5e848ca3403fd3e219d1c7c9
2017-12-21 18:34:37 +01:00
Axel Uhl
b533da5b57
interims commit with massive refactorings in permission/role concepts; uncompilable
...
Change-Id: I5f7e8558514ad439ef22940a86d4321c45f16494
2017-12-08 00:06:46 +01:00
Jonas Dann
3f50075e8d
Added default tenant to user
2017-11-28 16:37:30 +01:00
Jonas Dann
9c01cd200c
Refactored aclStore -> accessControlStore
2017-11-26 18:48:36 +01:00
Jonas Dann
c8cb98fa33
Refactored load remaining acls and dependency of ACL to user store
2017-10-27 15:47:20 +02:00
Jonas Dann
3ca2d03b41
Refactored ownership to be its own association
2017-08-11 15:36:46 +02:00
Jonas Dann
7f02d07873
Merge branch 'master' into permission-vertical
2017-08-10 15:53:04 +02:00
Steffen Schaefer
9123771f34
normalized line endings
2017-05-16 09:42:02 +02:00
Jonas Dann
224267cace
Fixed errors resulting from previous refactor
2017-02-15 13:42:21 +01: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