Class JavaScriptRegister
java.lang.Object
com.tremolosecurity.scalejs.register.registrators.JavaScriptRegister
- All Implemented Interfaces:
CreateRegisterUser
-
Constructor Summary
-
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 requestvoid
init
(ScaleJSRegisterConfig registerConfig) Initializes the custom submission generatorvoid
setWorkflowParameters
(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:CreateRegisterUser
Initializes the custom submission generator- Specified by:
init
in interfaceCreateRegisterUser
- Parameters:
registerConfig
-- Throws:
ProvisioningException
-
createTremoloUser
public String createTremoloUser(NewUserRequest newUser, List<String> errors, AuthInfo userData) throws ProvisioningException Description copied from interface:CreateRegisterUser
Returns the name of the workflow to execute, any changes to newUser are reflected in the request- Specified by:
createTremoloUser
in 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:CreateRegisterUser
Allows for workflow parameters to be set prior to creating the workflow- Specified by:
setWorkflowParameters
in interfaceCreateRegisterUser
- Parameters:
wfParameters
-newUser
-userData
-- Throws:
ProvisioningException
-