Package fi.luomus.commons.utils

Examples of fi.luomus.commons.utils.LintuvaaraAuthenticationUtil.check()


    LintuvaaraAuthenticationUtil authUtil = new LintuvaaraAuthenticationUtil(decryptor, "pistelaskenta", allowedUserTypes);

    String key = "these you get";
    String iv = "as a parameter";
    String model = "from the user";
    AuthenticationResult result = authUtil.check(key, iv, model);
    if (result.success()) {
      // do something...
      result.getUsermodel().get("login_id");
    } else {
      // do something else
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.