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
Axel Uhl
2052941172
added preferences support to user store; see bug 2429
2014-10-27 20:22:06 +01:00
Axel Uhl
9524510fa0
added entry point for e-mail validation
2014-10-17 18:14:41 +02:00
Axel Uhl
16cfc34404
package refactoring in com.sap.sse.security to put only GWT-compilable stuff into the GWT module exported by the bundle
2014-10-17 09:16:55 +02:00
Axel Uhl
d32d4e0aef
added code to suppor mail sending for user management purposes
2014-10-14 14:22:04 +02:00
Axel Uhl
2b68238f5d
using UserStore where SecurityService isn't really needed
2014-10-08 12:58:24 +02:00
Axel Uhl
be2b48658f
cleverly wait for the UserStore service to become available before creating the security service
2014-10-04 19:36:24 +02:00
Axel Uhl
cece1e232a
got a bit further, but still NPEs during Maven security test execution
2014-10-04 16:55:16 +02:00
Axel Uhl
80056219bb
made security.test execute locally as JUnit test by allowing test user store to be set
2014-10-04 11:56:29 +02:00
Axel Uhl
61f6e86ad9
added dependency from com.sap.sse.security.test to com.sap.sse.security.userstore.mongodb;
...
the mongodb bundle contains the activator that registers a user store service under
interface UserStore in the OSGi registry. This is what the security service is looking
for
2014-10-04 00:41:46 +02:00
Axel Uhl
07c6dcee66
removed fragment host version specification for com.sap.sse.security.test fragment
2014-10-02 17:35:49 +02:00
Axel Uhl
7c23d21f57
working on cleaning up the merge issues after trying to merge master into usermanagement
2014-10-01 17:20:09 +02:00
Benjamin Ebling
40d688b5b8
Added shiro config & simple login
2014-01-31 15:27:43 +01:00
Benjamin Ebling
698d75120a
Added osgi autostart for security bundle and added osgi security service
2014-01-30 13:06:15 +01:00