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
Axel Uhl
aba53e9747
working towards a solution for bug 2420: computing the email validation base URL on the client, passing it to the server
2014-10-20 18:20:32 +02:00
Axel Uhl
fb7ac8b983
restore selection after updating the user list; fixed validation success messages
2014-10-20 16:09:59 +02:00
Axel Uhl
26464239b5
use URL encoder for e-mail validation secret as base64 may contain + and =
2014-10-20 14:29:09 +02:00
Axel Uhl
92ac9bed36
improvements to user management panel
2014-10-20 10:47:18 +02:00
Axel Uhl
335fb961fd
slightly refactored reset password feature
2014-10-20 10:07:19 +02:00
Axel Uhl
aa81b40d58
catch mail exception when setting/changing user email and log it instead of escalating; changed security.properties again to use 127.0.0.1 as mail server
2014-10-18 10:09:20 +02:00
Axel Uhl
a21cc3f5bb
fixed e-mail validation
2014-10-18 00:31:48 +02:00
Axel Uhl
8d211ce1dd
a few steps towards e-mail validation
2014-10-17 18:33:33 +02:00
Axel Uhl
9524510fa0
added entry point for e-mail validation
2014-10-17 18:14:41 +02:00
Axel Uhl
7075aba3ad
moved e-mail sending from UserManagementServiceImpl to SecurityServiceImpl
2014-10-17 16:31:53 +02:00