Steffen Schaefer
623c939d13
Removed unnecessary duplicate drop of PREFERENCES DB collection for
...
tests
2016-07-19 09:37:52 +02:00
Steffen Schaefer
2db23155db
Using Collection.isEmpty instead of Util.isEmpty
2016-07-19 09:34:04 +02:00
Steffen Schaefer
6e9aa7d815
Added missing final modifier
2016-07-19 09:34:01 +02:00
Steffen Schaefer
00d0a74c51
Removed Util.equals where we are sure that the returned collection types
...
are equal so that a simple assertEquals will work
2016-07-19 09:33:57 +02:00
Steffen Schaefer
b741d72f91
Added a test to verify that common masterdata fields of User are
...
correctly stored
2016-07-13 13:29:20 +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
662e1e2002
Renamed method to make more clear what's happening
2016-07-12 11:07:28 +02:00
Steffen Schaefer
e7bf7846d7
Skip users without verified email address when sending notifications
2016-07-12 11:05:24 +02:00
Steffen Schaefer
f5c359b64e
Added tests to verify the PreferenceConverter removal in UserStore
2016-07-11 12:37:32 +02:00
Steffen Schaefer
d9ac7d5ab8
Code quality improvements for several tests
2016-07-07 10:49:31 +02:00
Steffen Schaefer
9475d30ef2
Added new test case regarding correct removal of preferences on user
...
deletion
2016-07-07 10:49:28 +02:00
Steffen Schaefer
aaa04bb2fb
Added failing tests to verify that preferences are currently not
...
correctly removed when a user is being deleted
2016-07-07 10:49:20 +02:00
Steffen Schaefer
7ecc533f8e
Added a failing test to verify that getUserByEmail currently throws a
...
NullPointerException if there is no user for a given email address
2016-07-07 10:49:13 +02:00
Steffen Schaefer
13467a2eee
Added tests to check that UserStore and MongoDB persistence is in sync
2016-07-07 10:49:09 +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
38733e7502
Renamed methods to make more clear what they are used for
2016-07-06 09:45:09 +02:00
Steffen Schaefer
1b64101140
Added more tests for PreferenceObjectBasedNotificationSet
2016-07-06 09:06:09 +02:00
Steffen Schaefer
ee5eda7ff0
More tests for preference object handling and notification set
...
calculation
2016-07-05 18:47:48 +02:00
Steffen Schaefer
0f93d35bcf
Added initial tests for PreferenceObjectBasedNotificationSet
2016-07-05 18:28:31 +02:00
Steffen Schaefer
bc81c1c35d
Added initial tests for preference object handling and conversion in
...
UserStore
2016-07-05 17:47:09 +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
426a944f3b
first failing test case that shows that the UserStore doesn't clear the userByAccessToken structure in its clear() method
...
Change-Id: Id93bdbcc16a6f94c08547fa596685dfbe04cdb8a
2016-04-14 18:30:55 +02:00
Axel Uhl
e1e5054e32
started adding a failing test case for bug3599
2016-04-14 18:22:54 +02:00
Axel Uhl
089bcf997b
added test for access token removal
...
Change-Id: I392b435e81e920818a0f3615ec289050e663abc6
2016-03-02 11:01:51 +01: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
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
6076f03c60
enhanced logon procedures and fixed test cases
2015-02-25 00:53:43 +01:00
Axel Uhl
87d11f969c
added UserDTO.getAllPermissions(PermissionsForRoleProvider) which accepts the same provider as Shiro in the back-end
2015-02-18 22:22:22 +01:00
EC2 Server
608fe30d3f
removed obsolete import
2015-02-15 22:48:23 +00:00
EC2 Server
1f5abc3af9
fix test thread's context class loader to enable finding realm class by Shiro
2015-02-15 22:47:16 +00:00
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
1242bdfd01
fixed missing @Ignore import
2015-02-14 17:21:21 +01:00
Axel Uhl
6bf7a35e55
ignore SecurityResourceTest.createAccessTokenAndAuthenticate for now on master
2015-02-14 08:00:41 +01:00
Axel Uhl
971b9e0d1e
added tests for REST API permission checking
2015-02-13 14:40:50 +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
412ee455ba
un-ignore breaking test on branch 2589 again
2015-02-13 13:17:57 +01:00
Axel Uhl
c55ae812fb
ignore failing SecurityResourceTest for now on master
2015-02-13 12:41:25 +01:00
Axel Uhl
0800cab32a
started with access token / REST security; test case read
2015-02-13 11:43:50 +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
a5507a16b3
remove unnecessary mockito dependency that let build fail
2015-02-11 13:16:47 +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
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
add7d499e1
Merge branch 'master' into bug2465
2014-11-24 18:21:52 +01:00
Fredrik Teschke
cce08c6520
changed com.sap.sse.security.test to JavsaSE-1.8
...
- has dependency to 1.8 bundle com.sap.sse.mongodb
- running test within Eclipse otherwise would fail: unsupported class version
2014-11-23 15:46:03 +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
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
e52a717118
set context class loader for security tests to ensure Shiro can see all classes from com.sap.sse.security and its required bundles
2014-11-05 10:31:50 +01:00