Interface UserService
-
- All Superinterfaces:
gemma.gsec.authentication.UserService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService extends gemma.gsec.authentication.UserService
Override a few definition from gsec so that we can use Gemma-specific implementations safely.- Author:
- poirigui
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description User
create(gemma.gsec.model.User user)
UserGroup
create(gemma.gsec.model.UserGroup userGroup)
User
findByEmail(String s)
User
findByUserName(String s)
UserGroup
findGroupByName(String s)
User
load(Long id)
-
-
-
Method Detail
-
findByUserName
User findByUserName(String s)
- Specified by:
findByUserName
in interfacegemma.gsec.authentication.UserService
-
findByEmail
@Secured({"GROUP_USER","AFTER_ACL_READ"}) User findByEmail(String s)
- Specified by:
findByEmail
in interfacegemma.gsec.authentication.UserService
-
findGroupByName
@Secured({"GROUP_USER","AFTER_ACL_READ"}) UserGroup findGroupByName(String s)
- Specified by:
findGroupByName
in interfacegemma.gsec.authentication.UserService
-
create
@Secured("GROUP_ADMIN") User create(gemma.gsec.model.User user) throws gemma.gsec.authentication.UserExistsException
- Specified by:
create
in interfacegemma.gsec.authentication.UserService
- Throws:
gemma.gsec.authentication.UserExistsException
-
create
@Secured("GROUP_USER") UserGroup create(gemma.gsec.model.UserGroup userGroup)
- Specified by:
create
in interfacegemma.gsec.authentication.UserService
-
-