Пример #1
0
        public Boolean ValidateCredentials(String username, String password)
        {
            String logMethodName = ".ValidateCredentials(String username, String password)";

            _log.Debug(logMethodName + " - Begin Method");
            Boolean result;

            try
            {
                _log.Debug(logMethodName + " - Calling ISecurityAdapter.ValidateCredentials(username, password)");

                result = _adapter.ValidateCredentials(username, password);
            }
            catch (Exception ex)
            {
                _log.Error(logMethodName + " - Error Validating member credentials", ex);

                result = false;

                return(result);
            }

            _log.Debug(logMethodName + " - End Method");
            return(result);
        }