diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseDocument.m | 4 | ||||
-rw-r--r-- | Source/SPDatabaseStructure.m | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index db404eb1..d907efb3 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -7133,9 +7133,9 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0; } /** - * Invoked when the current connection needs a password from the Keychain. + * Invoked when the current connection needs a password. */ -- (NSString *)keychainPasswordForConnection:(SPMySQLConnection *)connection authPlugin:(NSString *)pluginName +- (NSString *)passwordForConnection:(SPMySQLConnection *)connection authPlugin:(NSString *)pluginName { //TODO check plugin name to see whether we want to fetch it from keychain return [connectionController keychainPassword]; diff --git a/Source/SPDatabaseStructure.m b/Source/SPDatabaseStructure.m index 1eb4352a..99a274b0 100644 --- a/Source/SPDatabaseStructure.m +++ b/Source/SPDatabaseStructure.m @@ -444,11 +444,11 @@ cleanup_thread_and_pool: #pragma mark SPMySQLConnection delegate methods /** - * Forward keychain password requests to the database object. + * Forward password requests to the database object. */ -- (NSString *)keychainPasswordForConnection:(id)connection authPlugin:(NSString *)pluginName +- (NSString *)passwordForConnection:(id)connection authPlugin:(NSString *)pluginName { - return [delegate keychainPasswordForConnection:connection authPlugin:pluginName]; + return [delegate passwordForConnection:connection authPlugin:pluginName]; } #pragma mark - |