}
@Override
- public void afterAddressbookLoadedEvent (final @Observes AddressbookLoadedEvent event) {
+ public void afterAddressbookLoadedEvent (@Observes final AddressbookLoadedEvent event) {
// event should not be null
if (null == event) {
// Throw NPE
}
@Override
- public void afterLoginEvent (final @Observes UserLoggedInEvent event) {
+ public void afterLoginEvent (@Observes final UserLoggedInEvent event) {
// Is the user logged in?
if (null == event) {
// Is null
}
@Override
- public void afterRegistrationEvent (final @Observes UserRegisteredEvent event) {
+ public void afterRegistrationEvent (@Observes final UserRegisteredEvent event) {
// Trace message
//* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactWebBean:afterRegistration: event={0} - CALLED!", event)); //NOI18N
}
@Override
- public void afterUserLogin (final @Observes UserLoggedInEvent event) {
+ public void afterUserLogin (@Observes final UserLoggedInEvent event) {
// Trace message
//* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactWebBean:afterUserLogin: event={0} - CALLED!", event)); //NOI18N
this.contact = contact;
}
- @Override
- public User getUser () {
- return this.user;
- }
-
- @Override
- public void setUser (final User user) {
- this.user = user;
- }
-
@Override
public String getContactUsageMessageKey (final Contact contact) {
// The contact must be valid
return messageKey;
}
+ @Override
+ public User getUser () {
+ return this.user;
+ }
+
+ @Override
+ public void setUser (final User user) {
+ this.user = user;
+ }
+
}
import org.mxchange.jcoreee.validator.string.BaseStringValidator;
import org.mxchange.jcoreeelogger.beans.local.logger.Log;
import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
+import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController;
import org.mxchange.jusercore.container.login.LoginContainer;
import org.mxchange.jusercore.container.login.UserLoginContainer;
import org.mxchange.jusercore.model.user.UserUtils;
-import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController;
/**
* A validator for validating passwords (if they match with stored)
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@FacesValidator (value = "JobsUserPasswordValidator")
+@FacesValidator (value = "UserPasswordValidator")
public class JobsUserPasswordValidator extends BaseStringValidator implements Validator {
/**