AbstractUser.php
182 throw new ValidationException($message->getText("The login '%0%' already exists", array($value)));
beforeInsert()
Definition: AbstractUser.php:108
Default implementation of a user that is persistent.
Definition: AbstractUser.php:26
getAddedNodes()
Get the object ids of the nodes that were added since the node was loaded.
Definition: Node.php:351
beforeUpdate()
Definition: AbstractUser.php:115
static verify($password, $passwordHash)
Check if the given hash represents the given password.
Definition: PasswordService.php:36
setLogin($login)
Definition: AbstractUser.php:35
setConfig($config)
Definition: AbstractUser.php:70
validateValue($name, $value, Message $message)
Definition: AbstractUser.php:170
static getInstance($name, $dynamicConfiguration=array())
Definition: ObjectFactory.php:39
setValue($name, $value, $forceSet=false, $trackChange=true)
Definition: AbstractUser.php:159
Message is used to get localized messages to be used in the user interface.
Definition: Message.php:23
ValidationException signals an exception in validation.
Definition: ValidationException.php:18
setRoleConfig()
Set the configuration of the currently associated role, if no configuration is set already...
Definition: AbstractUser.php:138
static getRoleConfigs()
Get the role configurations from the application configuration.
Definition: AbstractUser.php:199
verifyPassword($password, $passwordHash)
Definition: AbstractUser.php:63
getPassword()
Definition: AbstractUser.php:56
setPassword($password)
Definition: AbstractUser.php:49
hasRole($roleName)
Definition: AbstractUser.php:84
getState()
Definition: DefaultPersistentObject.php:159