From 21e504e4af3a3e91f72f1f443ea943302e11bf9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 18 May 2016 14:42:32 +0200 Subject: [PATCH] added 2nd parameter baseUrl as EJBs cannot use FacesUtils --- .../model/register/UserRegistrationSessionBeanRemote.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java index 354845e..1272b30 100644 --- a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java @@ -45,6 +45,7 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { * Registers given user data, if not yet found *

* @param user User instance to register + * @param baseUrl Base URL *

* @return The fully registered user account *

@@ -55,7 +56,7 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { * org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException * If the email address has already been registered */ - User registerUser (final User user) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException; + User registerUser (final User user, final String baseUrl) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException; /** * Checks if the user's name is already registered -- 2.39.5