public class UserRegistrationComponent extends UserInvitationComponent implements UserRegistrationService
Modifier and Type | Class and Description |
---|---|
protected class |
UserRegistrationComponent.RegistrationCreator |
UserInvitationComponent.RegistrationAcceptator, UserInvitationComponent.RegistrationApprover, UserInvitationComponent.RegistrationRejector, UserInvitationComponent.RequestIdValidator, UserInvitationComponent.RootDocumentGetter, UserInvitationComponent.UserRegistrationModelCreator
UserInvitationService.ValidationMethod
configurations, log, NUXEO_URL_KEY, PARAM_ORIGINATING_USER, repoName, rh, testRendering
lastModified
CONFIGURATION_NAME
REGISTRATION_CONFIGURATION_NAME, REGISTRATION_DATA_DOC, REGISTRATION_DATA_USER
Constructor and Description |
---|
UserRegistrationComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc)
Add an ACL with the right specified in the registration Doc or nothing, if no rights needed.
|
String |
getNameEventRegistrationAccepted() |
String |
getNameEventRegistrationRejected() |
String |
getNameEventRegistrationSubmitted() |
String |
getNameEventRegistrationValidated() |
String |
submitRegistrationRequest(String configurationName,
UserRegistrationInfo userInfo,
DocumentRegistrationInfo docInfo,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept,
String principalName)
Stores a registration request like submitRegistrationRequest with Document information
|
String |
submitRegistrationRequest(UserRegistrationInfo userInfo,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept,
String principalName)
Stores a registration request and return a unique ID for it
|
Map<String,Serializable> |
validateRegistrationAndSendEmail(String requestId,
Map<String,Serializable> additionnalInfo)
Validate a registration request and generate the target User
|
acceptRegistrationRequest, buildEnterPasswordUrl, checkRequestId, checkUserFromRegistrationExistence, createUser, deleteRegistrationRequests, generateMail, getConfiguration, getConfiguration, getConfiguration, getConfigurationsName, getJavaMailJndiName, getOrCreateRootDocument, getRegistrationRules, getRegistrationRulesDocument, getRegistrationsForUser, getRegistrationUserFactory, getTargetRepositoryName, getTestedRendering, getUserRegistrationModel, isEmailExist, isTestModeSet, registerContribution, rejectRegistrationRequest, reviveRegistrationRequest, reviveRegistrationRequests, sendEmail, sendEvent, sendValidationEmail, submitRegistrationRequest, submitRegistrationRequest, userAlreadyExists, validateRegistration
activate, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptRegistrationRequest, checkRequestId, createUser, deleteRegistrationRequests, getConfiguration, getConfiguration, getConfiguration, getConfigurationsName, getRegistrationRules, getRegistrationRulesDocument, getRegistrationsForUser, getUserRegistrationModel, rejectRegistrationRequest, reviveRegistrationRequests, submitRegistrationRequest, submitRegistrationRequest, validateRegistration
applicationStarted, getApplicationStartedOrder
public UserRegistrationComponent()
public String submitRegistrationRequest(UserRegistrationInfo userInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName)
UserRegistrationService
submitRegistrationRequest
in interface UserRegistrationService
public String submitRegistrationRequest(String configurationName, UserRegistrationInfo userInfo, DocumentRegistrationInfo docInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName) throws UserRegistrationException
UserRegistrationService
submitRegistrationRequest
in interface UserRegistrationService
UserRegistrationException
public Map<String,Serializable> validateRegistrationAndSendEmail(String requestId, Map<String,Serializable> additionnalInfo) throws UserRegistrationException
UserInvitationService
validateRegistrationAndSendEmail
in interface UserInvitationService
validateRegistrationAndSendEmail
in interface UserRegistrationService
validateRegistrationAndSendEmail
in class UserInvitationComponent
UserRegistrationException
public void addRightsOnDoc(CoreSession session, DocumentModel registrationDoc)
UserRegistrationService
addRightsOnDoc
in interface UserRegistrationService
registrationDoc
- containing all registration infopublic String getNameEventRegistrationSubmitted()
getNameEventRegistrationSubmitted
in interface UserInvitationService
getNameEventRegistrationSubmitted
in class UserInvitationComponent
public String getNameEventRegistrationAccepted()
getNameEventRegistrationAccepted
in interface UserInvitationService
getNameEventRegistrationAccepted
in class UserInvitationComponent
public String getNameEventRegistrationRejected()
getNameEventRegistrationRejected
in interface UserInvitationService
getNameEventRegistrationRejected
in class UserInvitationComponent
public String getNameEventRegistrationValidated()
getNameEventRegistrationValidated
in interface UserInvitationService
getNameEventRegistrationValidated
in class UserInvitationComponent
Copyright © 2018 Nuxeo. All rights reserved.