if (event == Event.CANCELLED_EVENT) {
// is a Form cancelled, show Login Form
content = initLoginContent(ureq, null);
dmzPanel.setContent(content);
}else if (event instanceof AuthenticationEvent) {
AuthenticationEvent authEvent = (AuthenticationEvent)event;
Identity identity = authEvent.getIdentity();
int loginStatus = AuthHelper.doLogin(identity, OLATAuthenticationController.PROVIDER_OLAT, ureq);
if (loginStatus == AuthHelper.LOGIN_OK) {
return;
} else if (loginStatus == AuthHelper.LOGIN_NOTAVAILABLE){
//getWindowControl().setError(translate("login.notavailable", OLATContext.getSupportaddress()));