public class CreateUser extends AuthenticatedHttpEventProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
PEOPLE_JSON_EMAIL |
static String |
PEOPLE_JSON_FIRSTNAME |
static String |
PEOPLE_JSON_LASTNAME |
static String |
PEOPLE_JSON_NODEREF |
static String |
PEOPLE_JSON_PASSWORD |
static String |
PEOPLE_JSON_USERNAME |
static String |
PEOPLE_PICKER_URL
URL for getting a single cm:person object based on a username.
|
DEFAULT_CHART, DEFAULT_WARN_DELAY, logger| Constructor and Description |
|---|
CreateUser(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
UserDataService userDataService) |
| Modifier and Type | Method and Description |
|---|---|
EventResult |
processEvent(Event event)
Process an event.
|
void |
setIgnoreExistingUsers(boolean ignoreExistingUsers) |
executeHttpMethodAsAdmin, executeHttpMethodAsUser, getAuthDetailProvider, getFullUrlForPath, getHttpProvider, releaseResources, setTicketBasedAuthenticationgetWarnDelay, isChart, register, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelaypublic static final String PEOPLE_PICKER_URL
public static final String PEOPLE_JSON_USERNAME
public static final String PEOPLE_JSON_FIRSTNAME
public static final String PEOPLE_JSON_LASTNAME
public static final String PEOPLE_JSON_EMAIL
public static final String PEOPLE_JSON_PASSWORD
public static final String PEOPLE_JSON_NODEREF
public CreateUser(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
UserDataService userDataService)
public EventResult processEvent(Event event) throws Exception
EventProcessorevent - the event (along with associated data)Exceptionpublic void setIgnoreExistingUsers(boolean ignoreExistingUsers)
ignoreExistingUsers - whether or not to ignore existing users when
creating. If set to true the event will be successful when
executed. If set to false, an exception will be thrown when
user already exists.Copyright © 2012. All Rights Reserved.