Package com.embabel.agent.api.identity
Interface UserService
-
- All Implemented Interfaces:
public interface UserService<U extends User>Common interface for working with users in the system. Applications don't need to use this, but may find it useful
-
-
Method Summary
Modifier and Type Method Description abstract UfindById(String id)abstract UfindByUsername(String username)abstract UfindByEmail(String email)UprovisionUser(User userInfo)Add the user to the system given core information. -
-
Method Detail
-
findByUsername
abstract U findByUsername(String username)
-
findByEmail
abstract U findByEmail(String email)
-
provisionUser
U provisionUser(User userInfo)
Add the user to the system given core information. Implementations may consider their own subtypes. Default implementation refuses to do so.
-
-
-
-