Examples of ILoginEvent


Examples of org.hive2hive.core.events.framework.interfaces.user.ILoginEvent

    };
  }

  private ICompletionHandle createLoginHandle(UserCredentials credentials, Path rootPath) {

    final ILoginEvent loginEvent = new LoginEvent(credentials, rootPath);

    return new ICompletionHandle() {
      public void onCompletionSuccess() {
        notifyLoginStatus(true, loginEvent);
      }

      public void onCompletionFailure(RollbackReason reason) {
        loginEvent.setRollbackReason(reason);
        notifyLoginStatus(false, loginEvent);
      }
    };
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.