Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PFTPServer::AuthoriseUser ( const PString user,
const PString password,
BOOL &  replied 
) [virtual]

Validate the user name and password for access. After three invalid attempts, the socket will close and FALSE is returned.

Default implementation returns TRUE for all strings.

Returns:
TRUE if user can access, otherwise FALSE
Parameters:
userUser name to authorise.
passwordPassword supplied for the user.
repliedIndication that a reply was sent to client.

Definition at line 139 of file ftpsrvr.cxx.

{
  return TRUE;
}

Generated by  Doxygen 1.6.0   Back to index