Package jetbrains.buildServer.users.impl
Class SecuredUser
- java.lang.Object
-
- jetbrains.buildServer.users.impl.BaseUser
-
- jetbrains.buildServer.users.impl.UserImpl
-
- jetbrains.buildServer.users.impl.SecuredUser
-
- All Implemented Interfaces:
Loggable,NotificationRulesHolder,AuthorityHolder,RolesHolder,UserEx,UserRolesInit,PropertyHolder,SPropertyHolder,SUser,User
public class SecuredUser extends UserImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jetbrains.buildServer.users.impl.UserImpl
UserImpl.BuildTypesOrder
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.users.impl.UserImpl
myProjectManager, PROTECTED_USER_PROPERTY_PREFIX, PUBLIC_USER_PROPERTY_PREFIX, SECURED_USER_PROPERTY_PREFIX, VERIFIED_EMAIL_PROPERTY_NAME
-
Fields inherited from interface jetbrains.buildServer.users.SUser
GUEST_USER_ID, SUPER_USER_ID, UKNOWN_USER_ID
-
-
Constructor Summary
Constructors Constructor Description SecuredUser(long id, String realm, String account, String name, String email, Date lastLoginTimestamp, boolean hasPassword, UserChangesFacade changesFacade, SecurityContextEx securityContext, ServerResponsibility serverResponsibility, UserUpdate userUpdate, UserDataLoader userDataLoader, BlockStateManager blockStateManager, ProjectManagerEx projectManager, UserGroupManager userGroupManager, NotificationRulesManager notificationRulesManager, RolesManager rolesManager, RolesConverter rolesConverter, VcsUsernameStorage vcsUsernameStorage, PasswordComplexityChecker passwordComplexityChecker, UserAttributeStorage userAttributeStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaddNewRule(String notifierType, NotificationRule rule)Adds new rule to the rules of specified user for specified notifier type.voidaddRole(RoleScope scope, Role role)Adds role with specified scopevoidaddVcsUsername(VcsUsernamePropertyKey key, String userName)voidapplyOrder(String notifierType, long[] ruleIds)Sorts the notification rules in the specified order.voiddeleteAttribute(String attributeKey)Delete user attributevoiddeleteUserProperty(PropertyKey propertyKey)Deletes a property with specified key from the user profile.List<UserGroup>getAllUserGroups()Returns the list of all user groups that include this user, directly or through intermediate subgroups.protected List<UserGroup>getAllUserGroupsUnfiltered()StringgetAttribute(String attributeKey)Get user attributeMap<String,String>getAttributes()Get all user attributesStringgetBlockState(String blockType)Retrieves state of a block stored for this userbooleangetBooleanProperty(PropertyKey propertyKey)Returns value of the boolean propertyStringgetEmail()Returns e-mail of this userSortedMap<SProject,List<SBuildType>>getFilteredVisibleBuildTypes(BuildTypeFilter filter)Returns sorted map of build configurations per project.List<SBuildType>getOrderedBuildTypes(SProject project)Returns the list of build configurations (in a project, or globally) sorted according to user settings.Map<PropertyKey,String>getProperties()Returns map of the propertiesStringgetPropertyValue(PropertyKey propertyKey)Returns value of the property with specified keyList<UserGroup>getUserGroups()Returns the list of groups which this user belongs to.List<VcsUsernamePropertyKey>getVcsUsernameProperties()Returns list of VCS username properties associated with this user.Map<VcsUsernamePropertyKey,List<String>>getVcsUsernames()List<String>getVisibleProjects()Computes list of visible projects sorted according to the order specified by user.booleanhasPassword()Returns true if user has password, false otherwise (e.g.voidhideProject(String projectId)Marks a project with specified id as invisiblevoidhideProjects(Collection<String> projectIds)Marks the specified projects as invisiblevoidremoveRole(Role role)Removes specified role.voidremoveRole(RoleScope scope, Role role)Removes role with specified scopevoidremoveRoles(RoleScope scope)Removes all of the roles having the specified scope.voidremoveRule(long ruleId)Removes the rule with specified id.voidremoveRule(NotificationRule rule)Removes the rule.voidresetBuildTypesOrder(SProject project)Resets the build types order settings to defaults.voidresetCachedAttributes()Reset cached user attributesvoidsetAttribute(String attributeKey, String attributeValue)Set user attributevoidsetBlockState(String blockType, String blockState)Stores collapsable block state for this uservoidsetBuildTypesOrder(SProject project, List<SBuildType> visible, List<SBuildType> invisible)Sets visible and invisible build types for the given project in the specified order.voidsetDefaultVcsUsernames(List<String> userNames)booleansetEmailIsVerified(String email)Mark user`s email as verified if it's equal to email passed in parameter.voidsetLastLoginTimestamp(Date timestamp)Updates last login timestampvoidsetNotificationRules(String notifierType, List<NotificationRule> rules)Sets the notification rules for specified notifier.voidsetPassword(String password)Changes password of this uservoidsetProjectsOrder(List<String> projectsOrder)Sets order of the projects.voidsetUserProperties(Map<? extends PropertyKey,String> properties)Updates properties of the user specified by user id.voidsetUserProperty(PropertyKey propertyKey, String value)Sets a property with specified key and value in user profilevoidsetVcsRootUsernames(VcsRoot root, List<String> userNames)voidsetVcsUsernames(String vcsName, List<String> userNames)voidsetVcsUsernames(VcsUsernamePropertyKey key, List<String> userNames)voidsetVisibleProjects(Collection<String> visibleProjects)Sets projects visible for specified uservoidupdateUserAccount(String username, String name, String email)Updates user fields: username, name and email.-
Methods inherited from class jetbrains.buildServer.users.impl.UserImpl
clearPermissions, deleteProperty, equals, getAdditionalGlobalPermissions, getAllModifications, getAllProjects, getBuildTypesOrder, getDescriptiveName, getExtendedName, getId, getLastLoginTimestamp, getName, getProjectsOrder, getProjectVisibilityHolder, getRealm, getUsername, getVcsModifications, getVerifiedEmail, hashCode, init, isConfiguredVisibleProjects, isGuest, isHasHiddenProjects, isHighlightRelatedDataInUI, resetCachedProperties, resetCachedVcsUsernames, setCreationInProgress, setProperties, setProperty, toString
-
Methods inherited from class jetbrains.buildServer.users.impl.BaseUser
describe, findConflictingRules, findRuleById, getAllParentHolders, getAllParentRulesHolders, getAssociatedUser, getGlobalPermissions, getNotificationRules, getOriginalAuthorityHolder, getParentHolders, getParentRulesHolders, getPermissionsGrantedForAllProjects, getPermissionsGrantedForAnyOfProjects, getPermissionsGrantedForProject, getProjectsPermissions, getRoles, getRolesWithScope, getScopes, getSecurityContext, getServerResponsibility, hasAllPermissionsOf, isPermissionGrantedForAllProjects, isPermissionGrantedForAnyOfProjects, isPermissionGrantedForAnyProject, isPermissionGrantedForProject, isPermissionGrantedGlobally, isPseudoUser, isPseudoUserId, isSystemAdministratorRoleGranted, isSystemAdministratorRoleGrantedDirectly, isSystemAdministratorRoleInherited, resetBlocks, resetRoles, runWithRestrictor, updatePermissions
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.AuthorityHolder
getAllPermissions, getAssociatedUser, getGlobalPermissions, getPermissionsGrantedForAllProjects, getPermissionsGrantedForAnyOfProjects, getPermissionsGrantedForProject, getProjectsPermissions, hasAllPermissionsOf, isPermissionGrantedForAllProjects, isPermissionGrantedForAnyOfProjects, isPermissionGrantedForAnyProject, isPermissionGrantedForProject, isPermissionGrantedGlobally
-
Methods inherited from interface jetbrains.buildServer.notification.NotificationRulesHolder
findConflictingRules, findRuleById, getAllParentRulesHolders, getNotificationRules, getParentRulesHolders
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.RolesHolder
getAllParentHolders, getParentHolders, getRoles, getRolesWithScope, getScopes, isSystemAdministratorRoleGranted, isSystemAdministratorRoleGrantedDirectly, isSystemAdministratorRoleInherited
-
Methods inherited from interface jetbrains.buildServer.users.impl.UserEx
getOriginalAuthorityHolder, isPseudoUser, resetBlocks, runWithRestrictor, runWithRestrictor, updatePermissions
-
Methods inherited from interface jetbrains.buildServer.users.impl.UserRolesInit
resetRoles
-
-
-
-
Constructor Detail
-
SecuredUser
public SecuredUser(long id, String realm, String account, String name, String email, Date lastLoginTimestamp, boolean hasPassword, @NotNull UserChangesFacade changesFacade, @NotNull SecurityContextEx securityContext, @NotNull ServerResponsibility serverResponsibility, @NotNull UserUpdate userUpdate, @NotNull UserDataLoader userDataLoader, @NotNull BlockStateManager blockStateManager, @NotNull ProjectManagerEx projectManager, @NotNull UserGroupManager userGroupManager, @NotNull NotificationRulesManager notificationRulesManager, @NotNull RolesManager rolesManager, @NotNull RolesConverter rolesConverter, @NotNull VcsUsernameStorage vcsUsernameStorage, @NotNull PasswordComplexityChecker passwordComplexityChecker, @NotNull UserAttributeStorage userAttributeStorage)
-
-
Method Detail
-
updateUserAccount
public void updateUserAccount(@NotNull String username, String name, String email) throws UserNotFoundException, DuplicateUserAccountExceptionDescription copied from interface:SUserUpdates user fields: username, name and email.- Specified by:
updateUserAccountin interfaceSUser- Overrides:
updateUserAccountin classUserImpl- Parameters:
username- username, cannot be nullname- full name of a useremail- email address- Throws:
UserNotFoundException- if specified user no longer exists in the modelDuplicateUserAccountException- if a new username name already assigned to another user
-
setUserProperties
public void setUserProperties(@NotNull Map<? extends PropertyKey,String> properties) throws UserNotFoundExceptionDescription copied from interface:SUserUpdates properties of the user specified by user id. Only those properties will be updated which keys are specified in the properties map. All other properties will be left intact.- Specified by:
setUserPropertiesin interfaceSUser- Overrides:
setUserPropertiesin classUserImpl- Parameters:
properties- properties- Throws:
UserNotFoundException- if specified user no longer exists
-
setUserProperty
public void setUserProperty(@NotNull PropertyKey propertyKey, String value) throws UserNotFoundExceptionDescription copied from interface:SUserSets a property with specified key and value in user profile- Specified by:
setUserPropertyin interfaceSUser- Overrides:
setUserPropertyin classUserImpl- Parameters:
propertyKey- property keyvalue- value of the property- Throws:
UserNotFoundException- if specified user no longer exists
-
setEmailIsVerified
public boolean setEmailIsVerified(@NotNull String email)Description copied from interface:UserExMark user`s email as verified if it's equal to email passed in parameter.- Specified by:
setEmailIsVerifiedin interfaceUserEx- Overrides:
setEmailIsVerifiedin classUserImpl- Returns:
- true if verified email was set, false otherwise
-
deleteUserProperty
public void deleteUserProperty(@NotNull PropertyKey propertyKey) throws UserNotFoundExceptionDescription copied from interface:SUserDeletes a property with specified key from the user profile.- Specified by:
deleteUserPropertyin interfaceSUser- Overrides:
deleteUserPropertyin classUserImpl- Parameters:
propertyKey- property key- Throws:
UserNotFoundException- if specified user no longer exists
-
setPassword
public void setPassword(String password) throws UserNotFoundException
Description copied from interface:SUserChanges password of this user- Specified by:
setPasswordin interfaceSUser- Overrides:
setPasswordin classUserImpl- Parameters:
password- new password- Throws:
UserNotFoundException- if specified user no longer exists
-
hasPassword
public boolean hasPassword()
Description copied from interface:UserExReturns true if user has password, false otherwise (e.g. if it was created by NT domain or LDAP login module)- Specified by:
hasPasswordin interfaceUserEx- Overrides:
hasPasswordin classUserImpl- Returns:
-
setProjectsOrder
public void setProjectsOrder(@NotNull List<String> projectsOrder) throws UserNotFoundExceptionDescription copied from interface:SUserSets order of the projects.- Specified by:
setProjectsOrderin interfaceSUser- Overrides:
setProjectsOrderin classUserImpl- Parameters:
projectsOrder- identificators of all projects in the order specified by user- Throws:
UserNotFoundException- if specified user no longer exists
-
setVisibleProjects
public void setVisibleProjects(@NotNull Collection<String> visibleProjects) throws UserNotFoundExceptionDescription copied from interface:SUserSets projects visible for specified user- Specified by:
setVisibleProjectsin interfaceSUser- Overrides:
setVisibleProjectsin classUserImpl- Parameters:
visibleProjects- collection of identifiers of visible projects- Throws:
UserNotFoundException- if specified user no longer exists
-
hideProject
public void hideProject(@NotNull String projectId) throws UserNotFoundExceptionDescription copied from interface:SUserMarks a project with specified id as invisible- Specified by:
hideProjectin interfaceSUser- Overrides:
hideProjectin classUserImpl- Parameters:
projectId- id of the project- Throws:
UserNotFoundException- if this user does not exist anymore
-
hideProjects
public void hideProjects(@NotNull Collection<String> projectIds) throws UserNotFoundExceptionDescription copied from interface:SUserMarks the specified projects as invisible- Specified by:
hideProjectsin interfaceSUser- Overrides:
hideProjectsin classUserImpl- Parameters:
projectIds- ids of the project to hide- Throws:
UserNotFoundException- if this user does not exist anymore
-
setBlockState
public void setBlockState(String blockType, String blockState)
Description copied from interface:SUserStores collapsable block state for this user- Specified by:
setBlockStatein interfaceSUser- Overrides:
setBlockStatein classUserImpl- Parameters:
blockType- type of blockblockState- state
-
setBuildTypesOrder
public void setBuildTypesOrder(@NotNull SProject project, @NotNull List<SBuildType> visible, @NotNull List<SBuildType> invisible)Description copied from interface:SUserSets visible and invisible build types for the given project in the specified order.- Specified by:
setBuildTypesOrderin interfaceSUser- Overrides:
setBuildTypesOrderin classUserImpl- Parameters:
project- the projectvisible- the list of visible build typesinvisible- the list of invisible build types
-
resetBuildTypesOrder
public void resetBuildTypesOrder(@NotNull SProject project)Description copied from interface:UserExResets the build types order settings to defaults.- Specified by:
resetBuildTypesOrderin interfaceUserEx- Overrides:
resetBuildTypesOrderin classUserImpl- Parameters:
project- the project
-
setNotificationRules
public void setNotificationRules(@NotNull String notifierType, @NotNull List<NotificationRule> rules)Description copied from interface:NotificationRulesHolderSets the notification rules for specified notifier.- Specified by:
setNotificationRulesin interfaceNotificationRulesHolder- Overrides:
setNotificationRulesin classBaseUser- Parameters:
notifierType- type of the notifierrules- rules to save
-
addNewRule
public long addNewRule(@NotNull String notifierType, @NotNull NotificationRule rule) throws DuplicateNotificationRuleExceptionDescription copied from interface:NotificationRulesHolderAdds new rule to the rules of specified user for specified notifier type.- Specified by:
addNewRulein interfaceNotificationRulesHolder- Overrides:
addNewRulein classBaseUser- Parameters:
notifierType- type of the notifierrule- rule to add- Returns:
- the id of the newly created rule
- Throws:
DuplicateNotificationRuleException- if similar rule already exists
-
applyOrder
public void applyOrder(@NotNull String notifierType, @NotNull long[] ruleIds)Description copied from interface:NotificationRulesHolderSorts the notification rules in the specified order.- Specified by:
applyOrderin interfaceNotificationRulesHolder- Overrides:
applyOrderin classBaseUser- Parameters:
notifierType- type of the notifierruleIds- ids of the rules in the required order
-
removeRule
public void removeRule(long ruleId)
Description copied from interface:NotificationRulesHolderRemoves the rule with specified id.- Specified by:
removeRulein interfaceNotificationRulesHolder- Overrides:
removeRulein classBaseUser- Parameters:
ruleId- id of the rule
-
removeRule
public void removeRule(@NotNull NotificationRule rule)Description copied from interface:NotificationRulesHolderRemoves the rule. ThrowsNotificationRuleChangedExceptionif notification rule with same id was already changed. Does nothing if notification rule doesn't exist.- Specified by:
removeRulein interfaceNotificationRulesHolder- Overrides:
removeRulein classBaseUser- Parameters:
rule- rule to remove
-
getEmail
public String getEmail()
Description copied from interface:UserReturns e-mail of this user
-
getProperties
@NotNull public Map<PropertyKey,String> getProperties()
Description copied from interface:PropertyHolderReturns map of the properties- Specified by:
getPropertiesin interfacePropertyHolder- Overrides:
getPropertiesin classUserImpl- Returns:
- map of the properties
-
getPropertyValue
public String getPropertyValue(PropertyKey propertyKey)
Description copied from interface:PropertyHolderReturns value of the property with specified key- Specified by:
getPropertyValuein interfacePropertyHolder- Overrides:
getPropertyValuein classUserImpl- Parameters:
propertyKey- value of the property with specified key- Returns:
- value of the property with specified key
-
getBlockState
public String getBlockState(String blockType)
Description copied from interface:SUserRetrieves state of a block stored for this user- Specified by:
getBlockStatein interfaceSUser- Overrides:
getBlockStatein classBaseUser- Parameters:
blockType- type of block- Returns:
- block state or null
-
getVisibleProjects
public List<String> getVisibleProjects()
Description copied from interface:UserComputes list of visible projects sorted according to the order specified by user.- Specified by:
getVisibleProjectsin interfaceUser- Overrides:
getVisibleProjectsin classUserImpl- Returns:
- list of visible projects ids
-
getVcsUsernameProperties
@NotNull public List<VcsUsernamePropertyKey> getVcsUsernameProperties()
Description copied from interface:SUserReturns list of VCS username properties associated with this user. VCS username property defines username of this user in a concrete VCS root or VCS repository type (Subversion, Perforce, etc).- Specified by:
getVcsUsernamePropertiesin interfaceSUser- Overrides:
getVcsUsernamePropertiesin classBaseUser- Returns:
- list of VCS usernames
-
getVcsUsernames
@NotNull public Map<VcsUsernamePropertyKey,List<String>> getVcsUsernames()
- Specified by:
getVcsUsernamesin interfaceUserEx- Overrides:
getVcsUsernamesin classUserImpl
-
getBooleanProperty
public boolean getBooleanProperty(PropertyKey propertyKey)
Description copied from interface:PropertyHolderReturns value of the boolean property- Specified by:
getBooleanPropertyin interfacePropertyHolder- Overrides:
getBooleanPropertyin classUserImpl- Parameters:
propertyKey- property key- Returns:
- value
-
getOrderedBuildTypes
@NotNull public List<SBuildType> getOrderedBuildTypes(@Nullable SProject project)
Description copied from interface:SUserReturns the list of build configurations (in a project, or globally) sorted according to user settings. The configurations invisible for the user are omitted.- Specified by:
getOrderedBuildTypesin interfaceSUser- Overrides:
getOrderedBuildTypesin classUserImpl- Parameters:
project- the project (can be null)- Returns:
- the list of build configurations
-
getFilteredVisibleBuildTypes
@NotNull public SortedMap<SProject,List<SBuildType>> getFilteredVisibleBuildTypes(@Nullable BuildTypeFilter filter)
Description copied from interface:UserExReturns sorted map of build configurations per project. The build configurations are sorted according to user settings.- Specified by:
getFilteredVisibleBuildTypesin interfaceUserEx- Overrides:
getFilteredVisibleBuildTypesin classUserImpl- Parameters:
filter- filter of build configurations, can be null- Returns:
- sorted map of build types per project
-
setDefaultVcsUsernames
public void setDefaultVcsUsernames(@NotNull List<String> userNames)- Specified by:
setDefaultVcsUsernamesin interfaceUserEx- Overrides:
setDefaultVcsUsernamesin classUserImpl
-
setVcsUsernames
public void setVcsUsernames(@NotNull String vcsName, @NotNull List<String> userNames)- Specified by:
setVcsUsernamesin interfaceUserEx- Overrides:
setVcsUsernamesin classUserImpl
-
setVcsRootUsernames
public void setVcsRootUsernames(@NotNull VcsRoot root, @NotNull List<String> userNames)- Specified by:
setVcsRootUsernamesin interfaceUserEx- Overrides:
setVcsRootUsernamesin classUserImpl
-
setVcsUsernames
public void setVcsUsernames(@NotNull VcsUsernamePropertyKey key, @NotNull List<String> userNames)- Specified by:
setVcsUsernamesin interfaceUserEx- Overrides:
setVcsUsernamesin classUserImpl
-
addVcsUsername
public void addVcsUsername(@NotNull VcsUsernamePropertyKey key, @NotNull String userName)- Specified by:
addVcsUsernamein interfaceUserEx- Overrides:
addVcsUsernamein classUserImpl
-
getUserGroups
@NotNull public List<UserGroup> getUserGroups()
Description copied from interface:SUserReturns the list of groups which this user belongs to. Only groups which contain this user directly are considered. If you need all user groups useSUser.getAllUserGroups().No specific order of the groups is guaranteed.
- Specified by:
getUserGroupsin interfaceSUser- Overrides:
getUserGroupsin classBaseUser- Returns:
- list of groups containing this user
- See Also:
SUser.getAllUserGroups()
-
getAllUserGroups
@NotNull public List<UserGroup> getAllUserGroups()
Description copied from interface:SUserReturns the list of all user groups that include this user, directly or through intermediate subgroups.No specific order of the groups is guaranteed.
- Specified by:
getAllUserGroupsin interfaceSUser- Overrides:
getAllUserGroupsin classBaseUser- Returns:
- list of all groups containing this user
- See Also:
SUser.getUserGroups()
-
getAllUserGroupsUnfiltered
protected List<UserGroup> getAllUserGroupsUnfiltered()
- Overrides:
getAllUserGroupsUnfilteredin classBaseUser
-
addRole
public void addRole(@NotNull RoleScope scope, @NotNull Role role) throws UserNotFoundExceptionDescription copied from interface:RolesHolderAdds role with specified scope- Specified by:
addRolein interfaceRolesHolder- Overrides:
addRolein classUserImpl- Parameters:
scope- scope of the rolerole- role- Throws:
UserNotFoundException
-
removeRole
public void removeRole(@NotNull RoleScope scope, @NotNull Role role) throws UserNotFoundExceptionDescription copied from interface:RolesHolderRemoves role with specified scope- Specified by:
removeRolein interfaceRolesHolder- Overrides:
removeRolein classUserImpl- Parameters:
scope- scope of the rolerole- role- Throws:
UserNotFoundException
-
removeRoles
public void removeRoles(@NotNull RoleScope scope) throws UserNotFoundExceptionDescription copied from interface:RolesHolderRemoves all of the roles having the specified scope.- Specified by:
removeRolesin interfaceRolesHolder- Overrides:
removeRolesin classUserImpl- Parameters:
scope- scope of the role- Throws:
UserNotFoundException
-
removeRole
public void removeRole(@NotNull Role role)Description copied from interface:RolesHolderRemoves specified role. If the role is associated with several scopes all of these roles will be removed.- Specified by:
removeRolein interfaceRolesHolder- Overrides:
removeRolein classUserImpl- Parameters:
role- role to remove
-
setLastLoginTimestamp
public void setLastLoginTimestamp(@NotNull Date timestamp) throws UserNotFoundExceptionDescription copied from interface:SUserUpdates last login timestamp- Specified by:
setLastLoginTimestampin interfaceSUser- Overrides:
setLastLoginTimestampin classUserImpl- Parameters:
timestamp- last login timestamp- Throws:
UserNotFoundException- if this user does not exist anymore
-
setAttribute
public void setAttribute(@NotNull String attributeKey, @NotNull String attributeValue)Description copied from interface:UserExSet user attribute- Specified by:
setAttributein interfaceUserEx- Overrides:
setAttributein classUserImpl
-
getAttribute
@Nullable public String getAttribute(@NotNull String attributeKey)
Description copied from interface:UserExGet user attribute- Specified by:
getAttributein interfaceUserEx- Overrides:
getAttributein classUserImpl- Returns:
- user attribute or null if there is no attribute with such key
-
getAttributes
@NotNull public Map<String,String> getAttributes()
Description copied from interface:UserExGet all user attributes- Specified by:
getAttributesin interfaceUserEx- Overrides:
getAttributesin classUserImpl- Returns:
- user attributes or an empty map
-
deleteAttribute
public void deleteAttribute(@NotNull String attributeKey)Description copied from interface:UserExDelete user attribute- Specified by:
deleteAttributein interfaceUserEx- Overrides:
deleteAttributein classUserImpl
-
resetCachedAttributes
public void resetCachedAttributes()
Description copied from interface:UserExReset cached user attributes- Specified by:
resetCachedAttributesin interfaceUserEx- Overrides:
resetCachedAttributesin classUserImpl
-
-