windows-authentication

Windows Authentication for SQL Server using JBDC on a Mac

六眼飞鱼酱① 提交于 2019-12-02 19:17:45
Is it possible to connect to SQL Server using Windows authentication/integrated security from a Mac? I am using the type 4 JDBC driver provided by Microsoft. The front end (a form application) is coded in Java. Everything works perfectly on Windows but one person in the office uses a Mac. Is this possible? FYI, I have never used Macs so I am very much the novice with them. I have searched all over the Internet but have not found a solution. Thank you in advance. Ray Morris This information is hard to come by in my experience. All of my searches turned up wrong (outdated) information since

How to add Roles to Windows Authentication in ASP.NET Core

假如想象 提交于 2019-12-02 18:55:16
I created an asp.net core project in visual studio 2015 with windows authentication. I can't figure out how to add roles to the Identity. I have a table with usernames for the windows account. And when the user opens the website the user is added to the Identity (I assume that's what happens, because I can display the username by User.Identity.Name) and I want to pull out Roles from another table and assign them to the user, is this possible? Or perhaps is there a better way to do it? (Why?, How?) I couldn't find any examples specific examples related to windows authentication, but I have read

IIS Binding with windows authentication

蹲街弑〆低调 提交于 2019-12-02 17:35:43
I have a local website ( http://localhost/testsite ) with Windows Authentication, that works well. Now I changed the binding of the site to an URL ( http://testsite.blablabla.biz ) with Windows Authentication which leads to an HTTP 401.1 - Unauthorized You do not have permission to view this directory or page using the credentials that you supplied error. What am I doing wrong? I searched already a lot on google, but nothing really helps. I think it has something to do with domain names or something, but I'm not sure. user731569 Windows has a security feature for doing loopback checks, which

ASP.NET Web API Self-Host with Windows Authentication

☆樱花仙子☆ 提交于 2019-12-02 17:10:22
I am trying to use the ASP.NET Web API Self-Host option with Windows authentication so I can determine the logged on user and ultimately accept or reject the user based on their identity. Here is my console application code: using System; using System.Web.Http; using System.Web.Http.SelfHost; namespace SelfHost { class Program { static void Main(string[] args) { var config = new HttpSelfHostConfiguration("http://myComputerName:8080"); config.UseWindowsAuthentication = true; config.Routes.MapHttpRoute( "API Default", "api/{controller}/{id}", new { id = RouteParameter.Optional }); using

ASP.NET Identity + Windows Authentication (Mix mode - Forms + Windows)

限于喜欢 提交于 2019-12-02 16:34:45
I have tried my best to search the web before asking this question. I've seen similar questions on stackoverflow, however, none has been answered satisfactorily for a long time now. This is one more attempt to get this recurring question answered. The Problem How to build an ASP.NET MVC 5 website which uses "Windows Auth" for Intranet users and "Forms Auth" for Internet users? We'd like to accomplish this using ASP.NET Identity. Moreover, we don't want to use Active Directory Groups for authorization. For Intranet users, we want to authenticate them using Active Directory and then fall back to

WSO2 IS login with Radius / Kerberos

断了今生、忘了曾经 提交于 2019-12-02 16:29:44
问题 The picture bellow shows the architecture that I need to deploy, and it explains my problem. I already designed a sub system that contains a set of applications (web services, web applications) deployed in apache tomcat. To provide the SSO functionality to my sub-system I used the WSO2 Identity Server with SAML2.0 to authenticate users and get access to all sub-system applications. This sub system is destined to be integrated into enterprises environment and work together with enterprise

WSO2 IS login with Radius / Kerberos

一曲冷凌霜 提交于 2019-12-02 10:50:35
The picture bellow shows the architecture that I need to deploy, and it explains my problem. I already designed a sub system that contains a set of applications (web services, web applications) deployed in apache tomcat. To provide the SSO functionality to my sub-system I used the WSO2 Identity Server with SAML2.0 to authenticate users and get access to all sub-system applications. This sub system is destined to be integrated into enterprises environment and work together with enterprise components. Now I need that enterprise users get access to my applications (of sub-system) there is two

Automatic NTLM Authentication for WSO2 ESB

放肆的年华 提交于 2019-12-02 10:37:36
问题 I have a WCF Web Service sitting on a client's IIS server secured with NTLM authentication - I have no control over the authentication configuration on that server. I need to integrate my WSO2 ESB server with this service, but I can't find a way to get the ESB to authenticate automatically. I have successfully pushed requests through the ESB to the service with web applications, but I was prompted to provide my Windows credentials during that process - I would like for this to not happen. I

Get windows login name without Windows Authentication

安稳与你 提交于 2019-12-02 09:17:21
I am trying to get the windows Logon username from my asp.net application. Here is my code string user_name = Request.ServerVariables.Get("LOGON_USER"); this is works fine on my local environment but when I upload the same code on the IIS it gives me blank, even I have tried to get logon username by HttpContext.Current.User.Identity.Name but it gives me blank. Once I enable IIS authentication to Windows authentication and disable Antonyms Authentication it is working fine. Can anyone please guide me how I will get this. Please correct me if I am using any wrong approch. Thanks in advance. Edit

MVC 4 application goes to login page first using Windows auth when run

谁说胖子不能爱 提交于 2019-12-02 08:52:05
I am currently developing a project that will use Windows authentication to authorize users and set their specific permissions. However, every time I run the program to test, the default login page created by Visual Studio when I created the project (/Account/Login) always appears first, rather than going to Home/Index. The URL is usually http://localhost:50848/Account/Login?ReturnUrl=%2fViews%2fHome%2fIndex.cshtml when I start it up, rather than just http://localhost:50848 . I should also note that the program is getting the correct Windows authentication on the screen, so I know that part is