Examples of syncUser()


Examples of org.olat.ldap.LDAPLoginManager.syncUser()

        identity = ldapManager.findIdentyByLdapAuthentication(username, ldapError);
      } else {
        // User does already exist - just sync attributes
        Map<String, String> olatProToSync = ldapManager.prepareUserPropertyForSync(attrs, identity);
        if (olatProToSync != null) {
          ldapManager.syncUser(olatProToSync, identity);
        }
      }
      // Add or update an OLAT authentication token for this user if configured in the module
      if (identity != null && LDAPLoginModule.isCacheLDAPPwdAsOLATPwdOnLogin()) {
        Manager secMgr = ManagerFactory.getManager();
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.