Пример #1
0
        public AuthenticationResponse AuthenticateWindows(String environment)
        {
            AuthenticationResponse response = new AuthenticationResponse();

            try {
                Mercury.Server.Security.Security security = new Mercury.Server.Security.Security();

                response = new AuthenticationResponse(security.Authenticate(environment));
            }

            catch (Exception authenticationException) {
                Server.Application application = new Application();

                application.SetLastException(authenticationException);

                response.SetException(authenticationException);
            }

            return(response);
        }