Package com.iizix.user
Interface IAuthenticatedUserProvider
- All Known Implementing Classes:
UserAuthentication
public interface IAuthenticatedUserProvider
Provider interface to retrieve an authenticated user for a client or application session.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptiongetUser
(long id) Gets the basic user info for a user from its unique user ID.Gets the instance of a user with its information.Finds locations of all users.
Method Details
getUser
Gets the instance of a user with its information.- Parameters:
userName
- The user name.- Returns:
- The instance holding the potentially authenticated user.
- Throws:
NullPointerException
- If theuserName
isnull
.NotFoundException
- If the user name is not found or an SQL exception occurred.
getUser
Gets the basic user info for a user from its unique user ID. The value comes from
.UserInfoBase.id
- Parameters:
id
- The unique user ID.- Returns:
- The user information, or null if not found.
getUserLocations
List<UserLocation> getUserLocations()Finds locations of all users.