Kai Börnert
|
561a938a65
|
further restructuring of dto classes
|
2018-11-29 14:56:25 +01:00 |
|
Kai Börnert
|
00b9193818
|
fixes for serialisation
|
2018-11-28 13:33:16 +01:00 |
|
Kai Börnert
|
3d49644443
|
cleaned up dtos a little
|
2018-11-28 09:49:33 +01:00 |
|
Kai Börnert
|
9774654679
|
split of client and server side data classes
|
2018-11-28 08:22:47 +01:00 |
|
Steffen Jacobs
|
f57a984a6d
|
renamed 'getOtherUsersHaveRole'-method in UserStore to
'getExistingQualificationsForRoleDefinition'
|
2018-11-13 09:16:24 +01:00 |
|
Steffen Schäfer
|
42490c4a61
|
Adjusted parameter type (Role vs RoleDefinition)
|
2018-11-12 17:30:15 +01:00 |
|
Kai Börnert
|
4c7eac55e8
|
simplified and fixed default tenant handling for createUser
|
2018-11-12 16:56:40 +01:00 |
|
Steffen Jacobs
|
5726d21a5a
|
Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical
|
2018-11-12 15:09:54 +01:00 |
|
Steffen Jacobs
|
0d4765dda4
|
Added a method (+tests) in UserStore to find out if other users have a
certain role and return them.
|
2018-11-12 15:09:03 +01:00 |
|
Steffen Schäfer
|
ccbd65b0a5
|
Using WildcardPermissionBuilder to construct complex permissions instead
of hard-coding permission strings
|
2018-11-12 15:03:16 +01:00 |
|
Kai Börnert
|
eaa13176fe
|
fixed UserStoreWithPersistenceTest for defaultTenant per server logic
|
2018-11-12 11:21:34 +01:00 |
|
Kai Börnert
|
fd1a6e17d3
|
fix for test NPE
|
2018-11-12 11:00:08 +01:00 |
|
Kai Börnert
|
a16965897d
|
user a defaultTenant that is configured per server for each user
|
2018-11-09 09:44:45 +01:00 |
|
Steffen Schäfer
|
5a81c14887
|
Added more test cases
|
2018-10-22 12:54:56 +02:00 |
|
Steffen Schäfer
|
4c8987c8aa
|
Initially implemented unit tests for newly introduced PermissionChecker
methods
|
2018-10-19 15:19:22 +02:00 |
|
Steffen Schäfer
|
ec5bb47124
|
Initial implementation for a server-side meta permission check in
SecurityServiceImpl
|
2018-10-19 15:19:15 +02:00 |
|
Kai Börnert
|
7e6fc0b850
|
adjusted AccessControlStoreTest for the now not existing default owner
|
2018-10-16 08:29:17 +02:00 |
|
Kai Börnert
|
6ee2b64242
|
simplified user & group handing for most cases
|
2018-10-15 13:32:48 +02:00 |
|
Kai Börnert
|
430915e7d6
|
fix for PermissionCheckerTest
|
2018-10-15 12:39:05 +02:00 |
|
Kai Börnert
|
000ac30a95
|
moved anonymous checks to PermissionChecker
|
2018-10-15 11:37:17 +02:00 |
|
Axel Uhl
|
ca4f740d75
|
bug4762: null is now a valid group to allow/deny permissions for in an ACL
Change-Id: I03c484981094e852fa0ae6a6ec134e6297317bff
|
2018-09-26 17:58:07 +02:00 |
|
Axel Uhl
|
43a17f6e9e
|
compilable but untested version that obtains server info for client-side permission checks
Change-Id: Ib70bb9283cce22a109199b43122009243bcede78
|
2018-09-24 23:20:30 +02:00 |
|
Axel Uhl
|
6899c7869c
|
some renames; using optional per-logical-type actions
Change-Id: Ia68de601d563683eed24b65ae2af63e0f5239deb
|
2018-09-24 22:45:43 +02:00 |
|
Axel Uhl
|
5afc023969
|
removed AdminConsoleRole and made basic Security and Sailing permissions explicit
Change-Id: I51ca76d3d42fda846c6295d9553c6cff96bbb256
|
2018-09-24 15:55:46 +02:00 |
|
Axel Uhl
|
3164e300f4
|
renamed "Mode" to "Action" in HasPermissions
Change-Id: I9a0a8f90918e7c370d03dd0d32a37b1afeb7aaff
|
2018-09-24 14:12:24 +02:00 |
|
Axel Uhl
|
937637eb5a
|
some renamings around ACL->AccessControlList and ownership-related methods
Change-Id: I2288f2adba1f3935df2ef92a5ee637c836ed84d8
|
2018-09-21 13:37:46 +02:00 |
|
Axel Uhl
|
4c8214afdb
|
adjusted tests and verdicts to modified permission check
Change-Id: Ia4ad1b0769fec25a13e7d87dbde01d0ef8ba3b15
|
2018-09-18 20:22:30 +02:00 |
|
Axel Uhl
|
1afc44a555
|
added hamcrest dependency to com.sap.sse.security.test because mockito was looking for it
Change-Id: I1d8ade4f59ffe88735da7cdc056a6c528b3a3734
|
2018-09-18 12:55:55 +02:00 |
|
Axel Uhl
|
717a735ab0
|
renamed Permission to HasPermissions
Change-Id: I6332d43f222d0f55717abb8ce4b5c3d8aa55af91
|
2018-09-14 16:40:08 +02:00 |
|
Axel Uhl
|
da5b5adc96
|
added missing QualifiedObjectIdentifierImpl.toString() and fixed one test case
Change-Id: I6347b94623270353d4a81b7208e284624e4f30d5
|
2018-09-14 16:18:53 +02:00 |
|
Axel Uhl
|
c067aadd9a
|
refactored how type-relative and global object IDs are handled for security purposes (QualifiedObjetIdentifier)
Change-Id: I9923408dcf9570bddea2b453671aaac6e9ef2c2c
|
2018-09-14 16:11:19 +02:00 |
|
Axel Uhl
|
3c49aa171d
|
enhanced the role/permission/realm test
Change-Id: Ia7678368700adfebdbaa8cd3ecff0f78a9967ad9
|
2018-09-14 14:22:57 +02:00 |
|
Axel Uhl
|
096e757d05
|
use Permission to construct type-qualified object identifiers
Change-Id: I03c693e7a5fb5aeb86cb37503f47cbaa55ea1b57
|
2018-09-14 14:15:27 +02:00 |
|
Axel Uhl
|
28b11fd935
|
interims commit with new tests for permission string encoding
Change-Id: I5e1b9d1c8762d8704b26a61183e0a8395e9c1671
|
2018-09-14 12:59:31 +02:00 |
|
Axel Uhl
|
2368f0640a
|
removed Tenant type and replaced by UserGroup everywhere
Change-Id: I9992c376bf78ef61c0a6b621dfc029748007b29e
|
2018-05-16 17:26:43 +02:00 |
|
Axel Uhl
|
cc477c247b
|
use SSE's WildcardPermission class, avoiding trouble with spaces appearing out of nowhere in the object ID parts
Change-Id: I86083e245926a7d4f19dcb69cccf8e56a577cb31
|
2018-04-04 17:06:27 +02:00 |
|
Axel Uhl
|
806a4d5c28
|
Merge branch 'master' into permission-vertical
|
2018-03-30 23:03:03 +02:00 |
|
Axel Uhl
|
bd90f921dd
|
added Automatic-Module-Name headers to satisfy Oxygen.3 Java9 warnings rule
|
2018-03-24 01:45:37 +01:00 |
|
Axel Uhl
|
204058442c
|
added PermissionConverter and test case
Change-Id: Ic273db130641ec30f41d836c26b95aefba294a50
|
2018-03-06 18:33:03 +01:00 |
|
Axel Uhl
|
a3296eb9b9
|
added groups persistence test; adjusted failing tenant persistence test
Change-Id: If100578792ee945bdecd1a402d834923f01a1241
|
2018-02-19 18:02:13 +01:00 |
|
Axel Uhl
|
ad0abfa5d6
|
failing test case for tenant-to-user link persistence
Change-Id: I39df1c822802c4b71e643898cdea338586652227
|
2018-02-19 17:38:59 +01:00 |
|
Axel Uhl
|
fe1d6d5bff
|
added test case for user group loading which caught a bug that is now fixed
Change-Id: I45d339bb168d4e88031e2e806905ea434046e00e
|
2018-02-05 16:40:39 +01:00 |
|
Axel Uhl
|
4971644887
|
determine user groups for UserDTO (embedded) and UserImpl (dynamically)
Change-Id: I4e51c420249b23c1246c9947078c74b6bcdedc23
|
2018-02-05 16:28:43 +01:00 |
|
Axel Uhl
|
13435790bc
|
separated ownership/ACL from ID/display-name stuff
Change-Id: I928053ca12dd0c045a4407481eecfad39bc03f3b
|
2018-02-05 15:51:26 +01:00 |
|
Axel Uhl
|
5fe18508df
|
removed redundant "roles" parameter from PermissionChecker.isPermitted
Change-Id: I07eb2fc5c3495539ba6e0207ed56a9ef25111f9c
|
2018-02-05 13:57:12 +01:00 |
|
Axel Uhl
|
72a98a3080
|
removed unused fields from test case
Change-Id: I48b4b25993ede696e0de9e590e082c8aac57bccf
|
2017-12-24 00:16:50 +01:00 |
|
Axel Uhl
|
22e5415c9e
|
fixed test case regarding role/role definition mismatch
Change-Id: Ib8ebe5de952adf5de30846bb1a680e5492c27a5e
|
2017-12-24 00:15:18 +01:00 |
|
Axel Uhl
|
9f489b7de1
|
added a role persistence test with tenant and user qualifier
Change-Id: Idafcb17ad640b03ffa6f536222f34fd411140e99
|
2017-12-23 22:51:33 +01:00 |
|
Axel Uhl
|
d8cf665719
|
fixed role loading and de-proxyfication of users/tenants/roles
Change-Id: Icca205f790c615826ad3cfaf7b499ca501ab6e53
|
2017-12-23 22:34:12 +01:00 |
|
Axel Uhl
|
530e92a72f
|
fixed broken test in AccessControlStoreTest
Change-Id: I870b2644d753ce08f2a1b90bd7647e02988f6075
|
2017-12-23 21:39:31 +01:00 |
|