Class JavaScriptRegister
java.lang.Object
com.tremolosecurity.scalejs.register.registrators.JavaScriptRegister
- All Implemented Interfaces:
CreateRegisterUser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTremoloUser(NewUserRequest newUser, List<String> errors, AuthInfo userData) Returns the name of the workflow to execute, any changes to newUser are reflected in the requestvoidinit(ScaleJSRegisterConfig registerConfig) Initializes the custom submission generatorvoidsetWorkflowParameters(Map<String, Object> wfParameters, NewUserRequest newUser, AuthInfo userData) Allows for workflow parameters to be set prior to creating the workflow
-
Constructor Details
-
JavaScriptRegister
public JavaScriptRegister()
-
-
Method Details
-
init
Description copied from interface:CreateRegisterUserInitializes the custom submission generator- Specified by:
initin interfaceCreateRegisterUser- Parameters:
registerConfig-- Throws:
ProvisioningException
-
createTremoloUser
public String createTremoloUser(NewUserRequest newUser, List<String> errors, AuthInfo userData) throws ProvisioningException Description copied from interface:CreateRegisterUserReturns the name of the workflow to execute, any changes to newUser are reflected in the request- Specified by:
createTremoloUserin interfaceCreateRegisterUser- Parameters:
newUser-errors-userData-- Returns:
- Throws:
ProvisioningException
-
setWorkflowParameters
public void setWorkflowParameters(Map<String, Object> wfParameters, NewUserRequest newUser, AuthInfo userData) throws ProvisioningExceptionDescription copied from interface:CreateRegisterUserAllows for workflow parameters to be set prior to creating the workflow- Specified by:
setWorkflowParametersin interfaceCreateRegisterUser- Parameters:
wfParameters-newUser-userData-- Throws:
ProvisioningException
-