Package org.olat.login.auth

Examples of org.olat.login.auth.AuthenticationEvent


    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()));
View Full Code Here

TOP

Related Classes of org.olat.login.auth.AuthenticationEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.