Examples of NetId


Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.NetId

    // Get a list of NetIds.
    List netIds = entUser.getNetId();
   
    // Iterate through the NetIds for the EnterpriseUser and find the
    // EnterpriseId and return it.
    NetId netId = new NetId();
    for (int i=0; i < netIds.size(); i++) {
      netId = (NetId)netIds.get(i);
      logger.debug("[PasswordSyncCommand.getEnterpriseId] Found NetId: "
        + toString(netId));
      if (netId.getDomain().equals(m_enterpriseIdDomain)) {
        logger.debug("[PasswordSyncCommand.getEnterpriseId] Found " +
          "EnterpriseId: " + toString(netId));
        return netId;
      }
    }
View Full Code Here

Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.NetId

    }

    // Verify that all message objects required are in AppConfig.
    // Get a configured NetId object out of AppConfig.
    try {
      NetId netId = (NetId)getAppConfig().getObject(NET_ID);
      EnterpriseUser entUser = (EnterpriseUser)getAppConfig().getObject(ENTERPRISE_USER);
      BasicPerson person = (BasicPerson)getAppConfig().getObject(BASIC_PERSON);
    }
    catch (EnterpriseConfigurationObjectException eoce) {
      // An error occurred retrieving a required object from AppConfig. Log it
View Full Code Here

Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.NetId

      publishError ("system", "DirectoryServiceGateway-1002", "An error occurred building the EnterpriseUser object from the EnterpriseUser " +
           "element contained in the NewData element of the message. The exception is: " +
          ele.getMessage(), "[" + getServiceName() + ".handleCreate] ", ele);
      return;
    }
    NetId netID = newEntUser.getNetId(0);
    String principal = netID.getPrincipal();
   
    // If the user entry does not exist in the directory, create it
    if (!personExists (uidAttr, principal)) {
      if (getCreateMissingUsers())
        createPerson (uidAttr, principal);
View Full Code Here

Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.NetId

   * @param entUser EnterpriseUser object representing the user to be updated
   * @return
   */
  protected boolean updateEnterpriseUserInDirectory(EnterpriseUser entUser) {
    boolean success = true;
    NetId netID = entUser.getNetId(0);
    String principal = netID.getPrincipal();
    String enterpriseID = null;

    try {
      LightweightPerson lightweightPerson = entUser.getLightweightPerson();
      enterpriseID = lightweightPerson.getInstitutionalId();
View Full Code Here

Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.NetId

    throws EnterpriseConfigurationObjectException, EnterpriseFieldException,
         EnterpriseObjectCreateException, EnterpriseObjectQueryException, EnterpriseObjectUpdateException {
      EnterpriseUser eu = (EnterpriseUser)appConfig.getObject(ENTERPRISE_USER);
      logger.info("["+portletName+"] Got " + ENTERPRISE_USER + " from AppConfig, performing Query...");

      NetId netId = eu.newNetId();
    logger.info("["+portletName+"] Got NetId...");
    netId.setPrincipal(principal);
    netId.setDomain(domain);

      LightweightPerson lPerson = eu.newLightweightPerson();
    logger.info("["+portletName+"] Got LightweightPerson...");
    lPerson.setInstitutionalId(instID);
    logger.info("["+portletName+"] Set instid on lightweight person...");
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.