Axel Uhl
|
8805bfb7eb
|
fix proposal for bug 3840: replicating string-based preference change to avoid serializing preference objects with operation
Change-Id: I69a04306be43263e07f0e87ef669328900c70623
|
2016-07-30 17:54:28 +02:00 |
|
Axel Uhl
|
51b3c7190d
|
made preference objects and their converters transient
Change-Id: I9f892f69e736131fb0d8bcb197a06372339e41b8
|
2016-07-21 13:37:16 +02:00 |
|
Steffen Schaefer
|
8e59b48216
|
Listeners aren't cleared anymore when clearing UserStore, but all
listeners are informed about removal of all preference objects.
|
2016-07-19 11:24:20 +02:00 |
|
Axel Uhl
|
aa748878c1
|
clear the UserStoreImpl.listeners map in the UserStoreImpl.clear() method; fresh replicas should start with no listeners
Change-Id: I43211599b4d0369efba5cde426975475d563b891
|
2016-07-15 15:22:10 +02:00 |
|
Steffen Schaefer
|
5847b016ce
|
Extended User to have an optional locale field to store the user's
language preference
|
2016-07-13 13:26:34 +02:00 |
|
Steffen Schaefer
|
f47557de60
|
Added more JavaDocs
|
2016-07-12 10:45:08 +02:00 |
|
Steffen Schaefer
|
6449fe9297
|
Using NamedReentrantReadWriteLock instead of synchronization
|
2016-07-12 10:43:37 +02:00 |
|
Axel Uhl
|
3a8c053d1a
|
use locking in PreferenceObjectBasedNotificationSet
Change-Id: I911fb9e4c303e8ae828f109345ca04aaa0c0d2f3
|
2016-07-12 09:36:29 +02:00 |
|
Steffen Schaefer
|
e89c05bf01
|
PreferenceConverters can now be registered through OSGi service registry
|
2016-07-11 12:38:14 +02:00 |
|
Steffen Schaefer
|
3695b9cc10
|
Renamed some internal methods in UserStoreImpl to make more clear what's
happening
|
2016-07-11 12:36:26 +02:00 |
|
Steffen Schaefer
|
516a889c02
|
Added the possibility to remove PreferenceConverters from the UserStore
|
2016-07-11 12:35:28 +02:00 |
|
Steffen Schaefer
|
b5524aefde
|
JavaDoc / Code quality improvements
|
2016-07-11 09:38:17 +02:00 |
|
Steffen Schaefer
|
e876d456a4
|
Preferences are now removed if a user is deleted
|
2016-07-07 10:49:24 +02:00 |
|
Steffen Schaefer
|
5004b250f0
|
Added a null check to prevent a NullPointerException to be thrown in
getUserByEmail if there is no user for a given email address
|
2016-07-07 10:49:17 +02:00 |
|
Steffen Schaefer
|
c80bca9c87
|
Renamed methods to make more clear what they are used for
|
2016-07-06 09:45:21 +02:00 |
|
Steffen Schaefer
|
cd5ca3741e
|
It's now possible to get notified on preference object changes in
UserStore
|
2016-07-05 10:40:20 +02:00 |
|
Steffen Schaefer
|
d77f6adb43
|
Initial implementation to register PreferenceConverters on the UserStore
and set/get preference objects that are being held in memory for fast
access
|
2016-07-04 17:07:01 +02:00 |
|
Axel Uhl
|
63ecb41944
|
fixed bug3599, tests now pass
Change-Id: Ifffdc82c0b8705440de635c48ce4b90571cb0096
|
2016-04-14 19:04:14 +02:00 |
|
Axel Uhl
|
8781eefbeb
|
added second fialing test case for user store
Change-Id: Iaaa502113b89689aac04267fe5ea158230d5cee4
|
2016-04-14 18:41:33 +02:00 |
|
Axel Uhl
|
44c37b4c32
|
fixed SecurityResourceTest, now removing existing token when requiring creation of new one
Change-Id: I1e8a5be5f7659ba0bff2841bed02033139de1b8a
|
2016-03-02 10:59:54 +01:00 |
|
Axel Uhl
|
524abc1124
|
secure the RaceLog POST servlet, requiring LEADERBOARD.UPDATE; fixed auth token loading in UserStore;
added removeAccessToken with remove_access_token end point on SecurityResource, available for ADMIN role
and owner
|
2016-03-02 00:09:54 +01:00 |
|
Axel Uhl
|
4e0c3f7073
|
providing update feature for additional User properties in SecurityService and UserManagementService
Change-Id: I46a4c2c58e35595dc20b85575a27c1cfbd639592
|
2016-01-12 09:28:23 +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
|
21f76c6dc4
|
obsolete old bearer access token when a new one is obtained for the subject
|
2015-02-25 14:36:01 +01:00 |
|
Axel Uhl
|
971b9e0d1e
|
added tests for REST API permission checking
|
2015-02-13 14:40:50 +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
|
98d5235b47
|
upgraded all Mongo-using bundles to 2.13.0 driver
|
2015-02-12 16:00:15 +01:00 |
|
Fredrik Teschke
|
af0856653e
|
removed calls to deprecated mongo-API methods (result of mongo-api upgrade)
|
2015-02-11 12:58:48 +01:00 |
|
Fredrik Teschke
|
5471a6b8fc
|
update manifests and pom to new mongodb driver version
|
2015-02-11 12:55:32 +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
|
64f64f661d
|
removed the no longer needed clear... methods from the security MongoObjectFactory again
|
2014-11-25 14:02:21 +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
|
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
|
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
|
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 |
|
Axel Uhl
|
801946302f
|
a first compileable version where SecurityService is a replicable
|
2014-11-20 21:20:08 +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
|
15f0ea0489
|
renamed com.sap.sailing.mongodb to com.sap.sse.mongodb and removed unnecessary dependency to com.sap.sailing.domain.common; fixes bug 2435
|
2014-11-05 13:08:09 +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
|
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
|
22d16baf74
|
consolidated imports
|
2014-10-20 16:21:58 +02:00 |
|
Axel Uhl
|
55568ea571
|
fixing bug 2378 by registering the MongoDB collections used by the user store
|
2014-10-20 16:20:52 +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
|
e1649a058e
|
password and email editing started from UserManagement entry point
|
2014-10-17 15:20:07 +02:00 |
|
Axel Uhl
|
c8824205d5
|
change password entry point does what it shall
|
2014-10-17 13:46:38 +02:00 |
|