Using Connected apps i can able to get the data from One to another.

This is my code, and its working fine.[ the code which is shown here is the dummy object and fileds not the actual ones].
-------------------------------------------------------------------------------------------------------------------------

My Actual requirment is .....
From OneORG( say ORG-A) i need to get the data and display in Another Org(say ORG-B) 
After doing business logic again i need to upsert the data from ORG-B to ORG-A.

I should not use any login id/ password in the code or in custom settings.
--------------------------------------------------------------------------

In the below code i used id and pwd :-(

```
public with sharing class FetchEmpl {

    //Login Domain
    String LOGIN_DOMAIN = 'www';
    public String pwd{get;set;}
    public String userName{get;set;}
    public custEmployee cEmp{get;set;}
    public String errMsg{get;set;}
    public String displayError{get;set;}

    public  list<records2> listrecords2 = new list<records2>();
    public FetchEmpl ()
    {
        displayError = 'none';
        fetch();
    }

    public void fetch()
    {
        userName='*********';
        pwd='*********';
        errMsg  = 'Some error occurred, please try again';
        try
        {
        //-----------------------------------
        // Login via SOAP/XML web service api
        //-----------------------------------
        HttpRequest request = new HttpRequest();
        request.setEndpoint('https://' + LOGIN_DOMAIN + '.salesforce.com/services/Soap/u/22.0');
        request.setMethod('POST');
        request.setHeader('Content-Type', 'text/xml;charset=UTF-8');
        request.setHeader('SOAPAction', '""');
        //not escaping username and password because we're setting those variables above
        //in other words, this line "trusts" the lines above
        //if username and password were sourced elsewhere, they'd need to be escaped below
        request.setBody('<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Header/><Body><login xmlns="urn:partner.soap.sforce.com"><username>' + userName+ '</username><password>' + pwd+ '</password></login></Body></Envelope>');
        Dom.XmlNode resultElmt = (new Http()).send(request).getBodyDocument().getRootElement()
          .getChildElement('Body', 'http://schemas.xmlsoap.org/soap/envelope/')
          .getChildElement('loginResponse', 'urn:partner.soap.sforce.com')
          .getChildElement('result', 'urn:partner.soap.sforce.com');

        //-------------------------------
        // Grab session id and server url
        //--------------------------------
        final String SERVER_URL = resultElmt.getChildElement('serverUrl', 'urn:partner.soap.sforce.com') .getText().split('/services')[0];
        final String SESSION_ID = resultElmt.getChildElement('sessionId', 'urn:partner.soap.sforce.com') .getText();

        //----------------------------------
        // Load first 10 accounts via REST API
        //---------------------------------
        final PageReference theUrl = new PageReference(SERVER_URL + '/services/data/v22.0/query/');
        theUrl.getParameters().put('q','Select name,salary__c From employee__c a limit 10');
        request = new HttpRequest();
        request.setEndpoint(theUrl.getUrl());
        request.setMethod('GET');
        request.setHeader('Authorization', 'OAuth ' + SESSION_ID);

        String body = (new Http()).send(request).getBody();
        system.debug('******body  **********');
        system.debug(body);
        body = body.replace('__c' ,'');
        JSONParser parser = JSON.createParser(body);
        system.debug('******JSONFinalString BEFORE **********');
        string JSONFinalString = JSON.serializePretty(body );
        system.debug('******JSONFinalString **********');
        system.debug(body );

             while (parser.nextToken() != null) {           
           if (parser.getCurrentToken() == JSONToken.START_OBJECT) {
                 cEmp = ( custEmployee )parser.readValueAs(custEmployee.class); 
          }
        }//while closed
       }
       catch(Exception e)
        {
            displayError = 'block';
        }

       system.debug('******wrapper class  **********');
        system.debug(cEmp);

    }
    public class custEmployee{     
public list<records2> records{get;set;}     

    }
    public class records2{
         public string Name{get;set;}
     public string Salary{get;set;}
      public records2(string Name,string Salary){
     this.Name=Name;
     this.Salary=Salary;
     } 
    }
}

```

The problem is i am using Login id and Pwd in the code( we can use custom settings), but i dont want to use any login id and pwd in the code or by using custom settings.

is it possible in Salesforce...can any one guide me