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