hi all
I build web application using alfresco-community-4.0.e,OpenCMIS and primefaces as user interface
i need to create user in alfresco programmatically, i try to create user by the following code
> Blockquote
if (!personService.personExists("tuser1")) {
personService.createPerson(createDefaultProperties("tuser1", "Test", "User1", "tuser1@localhost", "password"));
if (logger.isDebugEnabled()) logger.debug("Created tuser1 person");
}
if (!personService.personExists("tuser1")) {
personService.createPerson(createDefaultProperties("tuser1", "Test", "User1", "tuser1@localhost", "password"));
if (logger.isDebugEnabled()) logger.debug("Created tuser1 person");
}
> Blockquote
but i am facing problem with the authentication
i made class for alfresco authentication throw the openCMIS and it work fine for create my custom content and some custom action
any idea why it now working with creating user or any other code to build the user programmatically?