Hello all, I try this simple example. But event doesn’t be invoked. It looks like doesn’t work

Please enter your name and password.

Name:
Password:

@ManagedBean(name = "user") @SessionScoped public class UserBean implements Serializable { private Logger log = LoggerFactory.getLogger(UserBean.class); private String name; private String password; private static final long serialVersionUID = -7858335225156624734L; public String getName() { return name; } public void setName(String newValue) { name = newValue; } public String getPassword() { return password; } public void setPassword(String newValue) { password = newValue; } public void validate(ComponentSystemEvent e) { log.info("========================================"); } }