//System.out.println("gleimar="+Executions.getCurrent().getSession().getAttribute(org.springframework.security.web.authentication.AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)); Exception exep = Executions.getCurrent().getSession().getAttribute(org.springframework.security.web.authentication.AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY); if (exep != null ){ Clients.alert(org.zkoss.util.resource.Labels.getLabel("winLogin.lblloginIncorreto"), org.zkoss.util.resource.Labels.getLabel("winLogin.title"), Messagebox.INFORMATION); }