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
Axel Uhl
3536628129
added ehcache runtime dependency for security-enabled bundles
2014-11-04 18:20:49 +01:00
Axel Uhl
71845c258d
Adjusted target platform definitions and launch configurations; added shiro.web bundle dependency to security-enabled web bundles
2014-11-04 18:09:14 +01:00
Axel Uhl
eaca3e439c
move Shiro JARs and ehcache to target platform; adjusting target definitions
2014-11-04 17:32:41 +01:00
fmittag
7255bc25e1
removed usage of org.eclipse.osgi bundle import in some manifest files
2014-10-31 12:23:48 +01:00
Axel Uhl
595e1d9a1b
whitespace changes only
2014-10-29 17:47:26 +01:00
Axel Uhl
1c693cf0c0
added styling of LoginPanel which is now a horizontal panel, and the OAuthLoginPanel showing the logos horizontally and small
2014-10-29 12:34:34 +01:00
Axel Uhl
4dd2c7afa6
added preferences support in UserManagementService, completing bug 2429
2014-10-27 20:26:40 +01:00
Axel Uhl
2052941172
added preferences support to user store; see bug 2429
2014-10-27 20:22:06 +01:00
Axel Uhl
b8562a93d3
added documentation for settings in UserStore; renamed changepassword package to editprofile; setSettings now returns boolean
2014-10-23 14:00:00 +02:00
Axel Uhl
da2fcbf154
whitespace change only
2014-10-21 23:54:34 +02:00
Axel Uhl
f9bfddfd72
introduced AnyOfRolesFilter as OR-variant of roles[...] shiro filter
2014-10-21 23:52:36 +02:00
Axel Uhl
dc9555448b
updated permissions for gwt.ui pages; fixed role checks for admin console
2014-10-21 18:29:42 +02:00
Axel Uhl
31a6d1741f
refined EditProfile page by adding password reset option in case user has validated e-mail address
2014-10-20 20:33:08 +02:00