// Initialize the credentials // If the passed in URL contains login info, parse // that into a credential and web login key. Otherwise // check the command line. If the command line // does not contain any login creds, load the last saved // ones from the protected credential store. // This always returns with a credential structure set in the // login handler LLPointer<LLCredential> LLLoginHandler::initializeLoginInfo() { LLPointer<LLCredential> result = NULL; // so try to load it from the UserLoginInfo result = loadSavedUserLoginInfo(); return result; }
// Initialize the credentials // If the passed in URL contains login info, parse // that into a credential and web login key. Otherwise // check the command line. If the command line // does not contain any login creds, load the last saved // ones from the protected credential store. // This always returns with a credential structure set in the // login handler LLPointer<LLCredential> LLLoginHandler::initializeLoginInfo() { LLPointer<LLCredential> result = NULL; // so try to load it from the UserLoginInfo result = loadSavedUserLoginInfo(); if (result.isNull()) { result = gSecAPIHandler->loadCredential(LLGridManager::getInstance()->getGrid()); } return result; }