Package com.mooltiverse.oss.nyx.services
Interface UserService
- All Superinterfaces:
Service
A service that
supports the Service.Feature.USERS feature
to manage users.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mooltiverse.oss.nyx.services.Service
Service.Feature -
Method Summary
Modifier and TypeMethodDescriptionRetrieves informations about the currently authenticated user.
-
Method Details
-
getAuthenticatedUser
Retrieves informations about the currently authenticated user. The authenticated user is the one owning the configured credentials.- Returns:
- the authenticated user
- Throws:
SecurityException- if authentication or authorization fails or there is no currently authenticated userTransportException- if communication to the remote endpoint failsUnsupportedOperationException- if the underlying implementation does notsupporttheService.Feature.USERSfeature.
-