Examples of IDfLoginInfo


Examples of com.documentum.fc.common.IDfLoginInfo

      // connect
      client = DctmDriver.clientx.getLocalClient();
      sessionMgr = client.newSessionManager();
 
      // create an IDfLoginInfo object named loginInfoObj
      IDfLoginInfo loginInfoObj = DctmDriver.clientx.getLoginInfo();
      loginInfoObj.setUser(form.getUser());
      loginInfoObj.setPassword(form.getPassword());
      loginInfoObj.setDomain(form.getDomain());
 
      // bind the Session Manager to the login info
      sessionMgr.setIdentity(form.getDocbase(), loginInfoObj);
      session = sessionMgr.newSession(form.getDocbase());
    } catch (DfException e) {
View Full Code Here

Examples of com.documentum.fc.common.IDfLoginInfo

      RepositoryException {
    IDfSession dfSession = null;
    try {
      dfSession = dfSessionManager.getSession(docbase);
      if (logger.isLoggable(Level.FINER)) {
        IDfLoginInfo idfLoginInfo = dfSessionManager.getIdentity(docbase);
        logger.finer("Session for user: " + idfLoginInfo.getUser()
            + ": " + dfSession + " (id=" + dfSession.getSessionId() + ')');
      }
    } catch (DfIdentityException e) {
      throw new RepositoryLoginException(e);
    } catch (DfAuthenticationException e) {
View Full Code Here

Examples of com.documentum.fc.common.IDfLoginInfo

    if (!(identity instanceof DmLoginInfo)) {
      throw new IllegalArgumentException();
    }
    DmLoginInfo dctmLoginInfo = (DmLoginInfo) identity;
    logger.finer("Set identity: " + identity.getUser());
    IDfLoginInfo idfLoginInfo = dctmLoginInfo.getIdfLoginInfo();
    try {
      dfSessionManager.setIdentity(docbase, idfLoginInfo);
    } catch (DfServiceException e) {
      throw new RepositoryLoginException(e);
    }
View Full Code Here

Examples of com.documentum.fc.common.IDfLoginInfo

    }
  }

  @Override
  public ILoginInfo getIdentity(String docbase) {
    IDfLoginInfo idfLoginInfo = dfSessionManager.getIdentity(docbase);
    return new DmLoginInfo(idfLoginInfo);
  }
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.