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
f5d87fc908
set bundle context in com.sap.sse.security's Activator.start method right at the beginning
2015-02-13 23:21:20 +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
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
0800cab32a
started with access token / REST security; test case read
2015-02-13 11:43:50 +01:00
Axel Uhl
a1a8166b08
fixed MongoDB bundle reference in launch configurations after target platform upgrade
2015-02-13 10:18:32 +01:00
Axel Uhl
ecc6ff8332
Merge branch 'master' into bug2589
2015-02-13 09:31:59 +01:00
Fredrik Teschke
fa887140c8
Merge branch 'master' into ftes-mail-move-to-sse
...
Conflicts:
java/com.sap.sailing.feature/feature.xml
java/com.sap.sailing.server/SailingServer (No Proxy).launch
java/com.sap.sailing.server/SailingServer (Proxy).launch
java/com.sap.sse.security.ui/Security UI sdm.launch
java/pom.xml
2015-02-12 18:14:21 +01:00
Axel Uhl
2269ea3096
starting to implement an access token generator
2015-02-12 17:23:08 +01:00
Fredrik Teschke
f637d50c41
add old jackson bundle as dependency to MANIFESTS to avoid NoClassDefFoundErrors
2015-02-12 13:14:47 +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
7f7eb10256
move ObjectInputStreamResolvingAgainstCache to com.sap.sse and let com.sap.sse depend on com.sap.sse.common which has the IsManaagedByCache interface
2015-01-14 13:54:45 +01:00
Axel Uhl
24bba04589
moved ObjectInputStreamResolvingAgainstCache to com.sap.sse.common so that com.sap.sailing.domain does not require a dependency on com.sap.sse.replication anymore
2015-01-14 10:59:05 +01:00
Axel Uhl
163e7ca0f6
making the ThreadLocal objectcs instance variables in the Replicables helps the tests that failed due to a lack of isolation between the many Replicable objects in the same VM
2014-12-11 10:06:36 +01:00
Axel Uhl
64451c2702
fixing bug 2493; introduced a ThreadLocal telling whether replica is receiving initial load or running a master operation; not firing back to master if this flag is set
2014-12-11 09:57:18 +01:00
Axel Uhl
b604ff0d37
solving bug 2428 by pulling up the doGetAuthorizationInfo method from UsernamePasswordRealm to AbstractUserStoreBasedReal, thus sharing it with OAuthRealm
2014-12-01 17:54:09 +01:00
Axel Uhl
6a8f4d4c89
added UI support for managing user permissions
2014-12-01 16:56:10 +01:00
Axel Uhl
ebfb80479b
SecurityService is now properly cleared (clearState()) at the beginning of Selenium test case executions
2014-12-01 16:18:58 +01:00
Axel Uhl
30cb8e7082
registering SecurityService as ClearStateTestSupport implementation
2014-12-01 16:01:51 +01:00
Axel Uhl
619a801f3e
solution for bug 2427: permissions are now supported on User and related objects, including persistence and test case
2014-12-01 15:25:47 +01:00
Axel Uhl
8e7ab908e7
replicate operations initiated on replica to master and ignore them when they come back to that replica; see bug 2408
2014-11-29 23:50:06 +01:00
Axel Uhl
47abca3054
solving bug 2480 also for SecurityOperation implementations
2014-11-28 17:34:47 +01:00
Axel Uhl
672ca1b5c8
moved TimerWithRunnable to com.sap.sse and let com.sap.sse.security depend on it, allowing TimerWithRunnable to use Java8 features
2014-11-28 15:03:48 +01:00
Axel Uhl
565c9d9225
made the map storing the sessions scheduled for onChange notifications in a static instead of an instance map
2014-11-26 00:34:01 +01:00
Axel Uhl
b3a0ba280f
delay the sending of change notifications for a Session.touch() event
2014-11-25 21:43:42 +01:00
Axel Uhl
b5b0c61b1c
fixing Shiro session replication by not replacing the caches but replacing the cache contents;
...
Shiro seems to hold long-term references to the caches handed out by the CacheManager. Replacing those
caches during initial load doesn't help. They need to have their *contents* replaced instead.
2014-11-24 23:21:47 +01:00
Axel Uhl
7f345c0880
fixing serialization of ReplicatingCache, making securityService transient
2014-11-24 18:26:02 +01:00
Axel Uhl
b3942707c6
fixed issue with ReplicatingCache in the context of ReplicatingCacheManager
2014-11-24 18:22:39 +01:00
Axel Uhl
8ebab4ca50
basic authentication and session replication is in place; no longer use EhCache as it seems very tricky to replicate; still issues with details of session authentication replication
2014-11-24 17:56:43 +01:00
Axel Uhl
9f65c690ef
first working steps towards user session replication
2014-11-24 14:46:36 +01:00
Axel Uhl
c375310c76
added replication to the session cache manager, introducing a session cache decorator that uses labmdas for replication
2014-11-24 14:19:10 +01:00
Axel Uhl
5b1e725849
enabled more SecurityService operations for replication; added serialization test for fields declared of non-serializable type
2014-11-24 12:05:42 +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
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
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
801946302f
a first compileable version where SecurityService is a replicable
2014-11-20 21:20:08 +01:00
Axel Uhl
355239c8b1
first steps towards making SecurityService a Replicable; introduced operation base interface; register SecurityService as a Replicable; introduced ObjectInputStream / Cache
2014-11-20 17:39:58 +01:00
Axel Uhl
28e572a94c
fixed synchronization with waiting for Replicable instances
2014-11-17 00:12:36 +01:00
Axel Uhl
b0fafcf723
store clearing of password reset secret once the user has changed the password
2014-11-05 18:05:02 +01:00
Axel Uhl
73ca656221
two-step password reset works, fixing bug 2442
2014-11-05 16:56:43 +01:00
Axel Uhl
1ef688dc13
added URL parameters to EditProfile to allow for passing a password reset secret, default user name and default e-mail address
2014-11-05 16:17:11 +01:00
Axel Uhl
67d61ad790
started implementing a ResetPasswordDialog; removed sailing specifics from sse's LoginView
2014-11-05 14:01:25 +01:00