public String getPassword() {
return _password;
}
public String login() {
User user = new User();
user.setNickname(_username);
user.setPassword(_password);
try {
_loggedIn = getBusinessController().authenticateUser(user);
} catch (MapacheException e) {
FacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_ERROR,MapacheUIUtils.getTranslation("error_login",null),MapacheUIUtils.getTranslation("error_login",null)));
}