Commit Graph

128 Commits

Author SHA1 Message Date
Costantino Perciante 8079834438 added (partial) implementations for Users and Groups that exploit liferay's json web services
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@141545 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 10:02:08 +00:00
Massimiliano Assante b072b22511 added method to retrieve user contacts depending on the current group
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@141429 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-29 16:05:36 +00:00
Massimiliano Assante d28f3ccea6 added indexed and non indexed versions for listUsers and listUsersByGroup
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@141428 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-29 15:43:57 +00:00
Massimiliano Assante 27bac2af8c fixed listGroupsByUserAndSite that was assuming one Group sould belonging to One Virtual Group only
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@140046 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-16 16:03:45 +00:00
Massimiliano Assante 37ea7ef3d8 Fix for bug #6115 - users retireval methods that does not use the Liferay cache mechanism
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@139721 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-06 15:54:34 +00:00
Massimiliano Assante 7465bb2c39 Implemented support for Feature #4877 remove VRE association to single Category constraint
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@134344 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 17:24:24 +00:00
Massimiliano Assante da3b17c9c1 added support for membership type PRIVATE
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@132508 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-03 17:32:39 +00:00
Massimiliano Assante 00b8826a1c added listGroupsByUserAndSite method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@132157 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-30 09:40:58 +00:00
Massimiliano Assante de85108a3b added getGroupURL utility method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@131979 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 12:54:13 +00:00
Massimiliano Assante 72d08f338f Replaced logging from liferay so that it is possible to change level at runtime
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@131968 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 11:10:59 +00:00
Massimiliano Assante 2757de74de Added efficient method to retireve VRE logo URLs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@131967 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 11:10:18 +00:00
Massimiliano Assante 20c69adfa9 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129926 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-07-05 12:41:31 +00:00
Massimiliano Assante 6a4aa5db9b removed some useless log
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129923 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 12:33:55 +00:00
Massimiliano Assante 153e21efe3 fixed bug not adding users to parentVO when autoregistration occurred
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129849 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 12:21:01 +00:00
Massimiliano Assante d96aed18ea added RoleNames class
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129612 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 09:28:09 +00:00
Massimiliano Assante d5e615ed35 added methods for reading and writing custom attributes for Liferay User class
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129555 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 15:01:26 +00:00
Massimiliano Assante 2a4704cb3d added methods for reading custom attributes for USER class
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129554 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 15:00:26 +00:00
Massimiliano Assante 3232afcb6e added read / write custom attrobute for User
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129524 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 13:42:20 +00:00
Costantino Perciante f90da4f15d Bug fix: Inverted background comments and location_industry arguments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@129513 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 13:16:10 +00:00
Costantino Perciante 7a869d86b1 changed logs into the getUserByUsername method (put in the catch blocks)
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128916 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-31 09:52:32 +00:00
Massimiliano Assante a11b9fca06 added List<GCubeTeam> listTeamsByUserAndGroup(long userId, long groupId) in ROlemanager
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128879 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-27 12:23:20 +00:00
Costantino Perciante 081c427ccd Fixed getAvatarBytes method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128784 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-23 15:31:31 +00:00
Massimiliano Assante 37262ce263 added has Team and has Role methods to RolesManger
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128599 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-13 13:27:57 +00:00
Massimiliano Assante 92cb11ad2d added updateDescription for groups
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128597 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-13 12:19:48 +00:00
Massimiliano Assante bd8ded00e9 updated pom deps
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128524 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-09 10:32:03 +00:00
Massimiliano Assante 3483898e67 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128523 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-05-09 10:31:21 +00:00
Costantino Perciante 038dd9597f Fixed setBackground function
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128485 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-06 07:49:59 +00:00
Costantino Perciante fb796ccf1a added setUserProfessionalBackground method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128477 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-05 15:00:20 +00:00
Costantino Perciante 8de5f676ba Added updateContactInformation function to UserManager
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128459 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-04 14:58:46 +00:00
Costantino Perciante e2510be9ab Added createUser method that supports Contact information
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128454 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-04 13:50:15 +00:00
Massimiliano Assante 392a60e188 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128429 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-05-03 14:59:51 +00:00
Massimiliano Assante 29aa569009 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128311 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-04-26 12:47:04 +00:00
Costantino Perciante 0fadebec81 Fixed assignTeamToUser function
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128077 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-14 10:35:38 +00:00
Massimiliano Assante e100fd23c8 added assignTeamUser
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128076 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-14 09:40:39 +00:00
Massimiliano Assante 8b748fe964 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128073 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-04-14 08:37:04 +00:00
Massimiliano Assante 3b30e72ee2 added other methods for managing teams
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@128064 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-13 16:00:19 +00:00
Massimiliano Assante e6657b5859 added team management
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@127014 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-12 14:31:11 +00:00
Massimiliano Assante 7379149d2f moved customAttributeKeys from portalManager
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126882 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-08 11:12:25 +00:00
Costantino Perciante ae5ce990da Added getUserAvatarBytes and getUserOpenId functions. CreateUser now accepts the former parameters
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126806 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-06 12:43:14 +00:00
Massimiliano Assante 0b0022d86d added location_industry field to gCubeUser
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126331 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-28 14:32:20 +00:00
Massimiliano Assante 6dfa6941b3 fixed method for getting portrait URL
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126286 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-25 10:41:30 +00:00
Massimiliano Assante 42f4a1f22e just added few debug logs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126081 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-23 09:13:49 +00:00
Massimiliano Assante 63f6964602 fix for request based group VRE
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126057 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-22 16:01:31 +00:00
Massimiliano Assante 0ae9bd353b added RemoceAllRolesFromuser method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@126046 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-22 14:30:24 +00:00
Costantino Perciante dfa3fdfad8 Create user function changed a bit: it now allows to force or not the user to change password at first login
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125891 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-21 15:47:44 +00:00
Massimiliano Assante 26dc38123d added updateRole method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125829 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-21 10:40:55 +00:00
Massimiliano Assante f4f0940381 moved vgroup managment in usersmanagement library
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125716 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-18 13:29:18 +00:00
Massimiliano Assante 321512e876 added virtual groups management
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125711 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-18 11:19:10 +00:00
Massimiliano Assante 59a3786158 added getVirtual group method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125710 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-18 10:51:18 +00:00
Massimiliano Assante e928e212b6 added getGroupIdFromInfrastructureScope(String scope)
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@125662 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-17 16:25:45 +00:00