Class EmbeddedRegistrationController
java.lang.Object
com.broadleafcommerce.auth.user.web.endpoint.EmbeddedRegistrationController
@FrameworkRestController
@FrameworkMapping("/register")
@ConditionalOnProperty("broadleaf.auth.login.embedded.enabled")
public class EmbeddedRegistrationController
extends Object
REST controller for supporting embedded registration.
- Author:
- Phillip Verheyden (phillipuniverse), Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
ConstructorDescriptionEmbeddedRegistrationController
(UserRegistrationService<User> registrationService, UserLoginProperties properties, UserLoginService loginService, EmbeddedLoginProperties embeddedLoginProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected EmbeddedLoginProperties
protected UserLoginService
protected UserLoginProperties
protected UserRegistrationService<User>
registerUser
(UserRegistration user, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.registerUser
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, UserRegistration userRegistration, String clientId)
-
Constructor Details
-
EmbeddedRegistrationController
public EmbeddedRegistrationController(UserRegistrationService<User> registrationService, UserLoginProperties properties, UserLoginService loginService, EmbeddedLoginProperties embeddedLoginProperties)
-
-
Method Details
-
registerUser
@Deprecated @FrameworkPostMapping public User registerUser(@RequestBody UserRegistration user, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.in favor of the approach inRegistrationFormController
. -
registerUser
@FrameworkPostMapping(path="/embedded/submit", consumes="application/json") public User registerUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @RequestBody UserRegistration userRegistration, @RequestParam("client_id") String clientId) -
getRegistrationService
-
getProperties
-
getLoginService
-
getEmbeddedLoginProperties
-
RegistrationFormController
.