Package org.ametys.core.user
Class UserFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.user.UserFactory
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
The factory for
User
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUser
(StoredUser storedUser, UserDirectory userDirectory) Creates a Uservoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
UserFactory
public UserFactory()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
createUser
Creates a User- Parameters:
storedUser
- theStoredUser
userDirectory
- TheUserDirectory
- Returns:
- The
User
created
-