code: public synchronized Session getSession()
  	{
  		if (session == null)
  		{
  			if (authenticator != null)
  			{
  				session = Session.getInstance(properties, authenticator);
  			}
  			else
  			{
  				session = Session.getInstance(properties);
  			}
  		}
  		return session;
  	}
docs: Gets the Session-object.
  
  @return 's the Session-object.