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 SummaryModifier and TypeMethodDescription- getUser- (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- getUserGets the instance of a user with its information.- Parameters:
- userName- The user name.
- Returns:
- The instance holding the potentially authenticated user.
- Throws:
- NullPointerException- If the- userNameis- null.
- NotFoundException- If the user name is not found or an SQL exception occurred.
 
- getUserGets 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.
 
- getUserLocationsList<UserLocation> getUserLocations()Finds locations of all users.