public Session getSession(String workspace, String userName, String password) throws RepositoryException
   {
      SessionRequestInfo sri = new SessionRequestInfo(workspace, userName, password);
      if (LOG.isDebugEnabled())
      {
         LOG.debug("getSession " + sri);
      }
      try
      {
         return (Session)cm.allocateConnection(msf, sri);
      }
      catch (ResourceException e)
      {
         throw new RepositoryException("Could not allocate a connection", e);
      }
   }
public Session getSession ( String workspace , String userName , String password ) throws RepositoryException { SessionRequestInfo sri = new SessionRequestInfo ( workspace , userName , password ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "getSession " + sri ) ; } try { return ( Session ) cm . allocateConnection ( msf , sri ) ; } catch ( ResourceException e ) { throw new RepositoryException ( "Could not allocate a connection" , e ) ; } }
@see org.exoplatform.connectors.jcr.adapter.SessionFactory#getSession(java.lang.String, java.lang.String, java.lang.String)