Commit Graph
231 Commits
Author SHA1 Message Date
Steffen Schaefer 73b377a6cd Merge branch 'master' into permission-vertical
Conflicts:
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2019-01-24 09:41:58 +01:00
Benjamin Barth 25f6b45820 First preparations for RoleDefinitions on UserGroups 2019-01-22 18:00:42 +01:00
Benjamin Barth 35aa0fd670 bug4865 Implemented editing of ownerships and ACLs for local server 2019-01-11 17:55:25 +01:00
Kai Börnert f6979e0dbc removed obsolete possibly wrong code 2019-01-10 15:21:14 +01:00
Kai Börnert 5597b7f4d0 Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.common/src/com/sap/sse/security/shared/impl/PermissionAndRoleAssociation.java
	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/Activator.java
	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2019-01-08 12:03:11 +01:00
Kai Börnert 1361b7ad74 added permission-association 2019-01-07 16:15:11 +01:00
Kai Börnert bccad276d8 ensure toString returns always the same string for the same
WildcardPermission
2019-01-07 16:14:46 +01:00
Steffen Schaefer 01402229a3 Code formatting only 2018-12-19 16:17:22 +01:00
Steffen Schaefer 976b901f11 Unified permission handling in client and server 2018-12-19 10:23:40 +01:00
Steffen Schaefer c315d811e7 Removed method parameter by introducing specific handling for
ExpeditionDeviceConfiguration that has the server name included in the
type relative object identifier
2018-12-19 09:52:34 +01:00
Steffen Schaefer 637d6edda8 Added the possibility to use TypeRelativeObjectIdentifier with
WildcardPermissionBuilder
2018-12-19 08:46:36 +01:00
Steffen Schaefer 43b6d155e4 Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.common/src/com/sap/sse/security/shared/dto/UserDTO.java
2018-12-19 08:31:18 +01:00
Steffen Schaefer 4eaa69cec4 Further reduced size of security relevant objects 2018-12-18 19:27:56 +01:00
Steffen Schaefer 43b0bca40a Removed unnecessary generic 2018-12-18 19:27:54 +01:00
Kai Börnert ac5597a621 added missing null check in equals 2018-12-18 18:35:51 +01:00
Thomas Wiese 1fcdd6fc66 bug 4813: fix PermissionAndRoleAssociation to build
TypeRelativeObjectIdentifier
2018-12-18 14:21:41 +01:00
Kai Börnert 18df63ac5c added missing this in StrippedUserDTO 2018-12-18 14:03:54 +01:00
Thomas Wiese 475356f8b8 Merge branch 'permission-vertical' into bug4813
# Conflicts:
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
#	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/EventsResource.java
2018-12-18 13:32:12 +01:00
Thomas Wiese 8a84ce7dbc bug 4813: fix WildcardPermission with new TypeRelativeObjectIdentifier,
which keeps encoded identifier
2018-12-18 10:08:31 +01:00
Steffen Schaefer aa16714fd5 Implemented custom serialization for UserImpl again. This should fix
deserialization of object cycles (UserImpl -> HashSet -> RoleImpl ->
UserImpl) where uninitialized objects are inserted into a HashSet.
2018-12-18 08:34:41 +01:00
Thomas Wiese fdbb44fe23 bug 4813: removed double encoding 2018-12-17 23:31:09 +01:00
Thomas Wiese edae8e5098 bug 4813: fixed some gwt problems II 2018-12-17 18:58:47 +01:00
Thomas Wiese 30fd1965a3 bug 4813: fixed some gwt problems 2018-12-17 18:51:41 +01:00
Steffen Schaefer d46a8a7d7e Adjusted equals and hashCode implementations to conform to the
description in the JavaDocs. In addition this fixes potential problems
in the UI where we do not enforce a single instance pattern.
2018-12-17 18:00:05 +01:00
Benjamin Barth 3ec8c428f5 Integrated new user roles editor implementation to UserEditDialog 2018-12-17 16:38:32 +01:00
Thomas Wiese a387055f95 bug 4813: building the identifier for permissions checks is now be done
by supporting a TypeRelativeObjectIdentifer object that has to be built
by domain objects
2018-12-17 15:49:44 +01:00
Kai Börnert e6cee2e365 wip for role associations 2018-12-13 17:01:30 +01:00
Thomas Wiese 69707bb14f bug 4813: make sure that typerelativeidentifer is running trough
corresponding convert method on object creation
2018-12-12 13:21:41 +01:00
Thomas Wiese 534dca5186 bug 4813: clean method names in HasPermissions to distinguish between object or type relative identifers as parameter 2018-12-12 09:05:43 +01:00
Thomas Wiese bdb4b0e99e bug 4813: testing HasPermissions-methods that use identifer strategy 2018-12-11 18:22:44 +01:00
Thomas Wiese 67320fba63 bug 4813: cleanup 2018-12-11 15:04:54 +01:00
Thomas Wiese 5d57aaf53e bug 4813: handle RESULT_IMPORT_URL correctly 2018-12-11 15:00:28 +01:00
Thomas Wiese 082554e2ce bug4813: added javadocs 2018-12-10 11:00:34 +01:00
Thomas Wiese 82b6cd4a2f bug 4813: fixing getStringPermissionForObject to get typerelative
identifier by object
2018-12-07 21:33:16 +01:00
Thomas Wiese 09e0f12fbc bug 4813: use concrete object instead of typerelative identifier to
build QualifiedObjectIdentifiers by delegation to the identiferstrategy
of the permissions type
2018-12-07 14:09:57 +01:00
Thomas Wiese 8a662aa8d4 bug 4813: move SecuredDomainTypes for SwissTiming to swisstimingadapter 2018-12-07 08:25:27 +01:00
Thomas Wiese f27abc43c4 bug 4816: move permission CAN_IMPORT_MASTERDATA to SERVER_ACTIONS 2018-12-06 15:12:34 +01:00
Thomas Wiese 1d427a3f5c Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/client/component/UserGroupManagementPanel.java
2018-12-06 14:32:05 +01:00
Thomas Wiese b965882121 bug 4813: add getPermissionForObject-method to accept domain object.
Setting the corresponding method based on
typerelativeObjetctIdentigfiers to deprecated.
Continued transition to type based id determination for
SecureDomainTypes SEVRER and MEDIA_TRACK.
2018-12-06 14:21:03 +01:00
Benjamin Barth a19efbd523 Fixed NPE during deserialization of AccessControlListDTO 2018-12-06 13:48:02 +01:00
Steffen Schaefer ecdc56a125 Simplified UserRole permissions 2018-12-06 13:36:37 +01:00
Thomas Wiese 669bcea2b4 bug 4813: remove generics from HasPermissions 2018-12-05 17:54:07 +01:00
Thomas Wiese cd2de0af7f bug 4813: implement WithID on DTOs for SecureDomainTypes with
ID-IdentifierStrategy.
2018-12-04 17:29:57 +01:00
Thomas Wiese 8c9e35c12d bug 4813: eleminate id factories in filter methods of security service 2018-12-04 16:27:07 +01:00
Thomas Wiese b2930b1b8e bug 4813: First draft for defining identifier strategy in HasPermissions
for SecuredDomainTypes and SecureSecurityTypes to hide complexity and
create a single point of responsibilty for identiferAsString-Logic.
2018-12-04 12:46:19 +01:00
Kai Börnert 986a531727 reimplemented missing hashcode and equals for usergroup 2018-11-30 15:51:04 +01:00
Steffen Jacobs 968dae3093 fixed issue where users in usergroups were not loaded correctly 2018-11-30 14:12:28 +01:00
Kai Börnert b9cfb77cdc replaced UserGroupWithSecurityDTO with UserGroupDTO and added required
Security information
2018-11-30 11:52:16 +01:00
Steffen Jacobs b783c9b99d Merge branch 'permission-vertical-split' of
ssh://trac@sapsailing.com/home/trac/git into permission-vertical-split

Conflicts:
	java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/server/UserManagementServiceImpl.java
2018-11-29 17:45:33 +01:00
Kai Börnert 561a938a65 further restructuring of dto classes 2018-11-29 14:56:25 +01:00