Class UserProfileOverrideService
java.lang.Object
dev.getelements.elements.service.profile.UserProfileOverrideService
- All Implemented Interfaces:
ProfileOverrideService
Implementation for users with
User.Level.USER
users.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindOverrideProfile
(String profileId) This checks for hte profile ID and additionally ensures that the currently authenticated user owns the profile.getUser()
void
setProfileDao
(ProfileDao profileDao) void
-
Constructor Details
-
UserProfileOverrideService
public UserProfileOverrideService()
-
-
Method Details
-
findOverrideProfile
This checks for hte profile ID and additionally ensures that the currently authenticated user owns the profile. If a mismatch occurrs, then this will fail silently and simply return a null value. This is intended to make is such that the server will neither confirm nor deny that the profile exists or is assocaited with the particular user.- Specified by:
findOverrideProfile
in interfaceProfileOverrideService
- Parameters:
profileId
- the profile ID- Returns:
- the profile ID
-
getUser
-
setUser
-
getProfileDao
-
setProfileDao
-