Interface UserService
- All Superinterfaces:
BaseUserService
- All Known Implementing Classes:
UserServiceImpl
Override a few definition from gsec so that we can use Gemma-specific implementations safely.
Avoid using this service directly, use UserManager instead.
- Author:
- poirigui
-
Method Summary
Methods inherited from interface BaseUserService
addGroupAuthority, addUserToGroup, delete, delete, findGroupsForUser, groupExists, listAvailableGroups, loadAll, loadGroupAuthorities, removeGroupAuthority, removeUserFromGroup, update, update
-
Method Details
-
load
- Specified by:
loadin interfaceBaseUserService
-
findByUserName
- Specified by:
findByUserNamein interfaceBaseUserService- Returns:
- user or null if they don't exist.
-
findByEmail
@Secured("GROUP_USER") @PostAuthorize("returnObject == null or hasPermission(returnObject, 'READ') or hasPermission(returnObject, 'ADMINISTRATION')") User findByEmail(String s) - Specified by:
findByEmailin interfaceBaseUserService
-
findGroupByName
@Secured("GROUP_USER") @PostAuthorize("returnObject == null or hasPermission(returnObject, 'READ') or hasPermission(returnObject, 'ADMINISTRATION')") UserGroup findGroupByName(String s) - Specified by:
findGroupByNamein interfaceBaseUserService
-
create
- Specified by:
createin interfaceBaseUserService- Throws:
UserExistsException
-
create
- Specified by:
createin interfaceBaseUserService
-