principal
WCF Service throws error when validating Credentials against PrincipalContext?
I have a WCF service, which works if I use one login, but throws the following error if I try logging in with any other login. Strangely enough, if I change the password to the working login, the new[详细]
2023-04-10 10:16 分类:问答ASP.NET / IIS 7 - Authenticate against an Active Directory using a Principal
My current application uses the PrincipalContext c开发者_运维技巧lass to authenticate a default user (filled in in the Web.config dedicated section) against a LDAP (and more precisely an Active Direct[详细]
2023-03-04 17:57 分类:问答how to clear user principals after logout?
The case is easy: user clicks logout, goes to LogoutFilter and: HttpServletRequest hreq = (HttpServletReques开发者_如何学Ct) request;[详细]
2023-02-26 05:04 分类:问答Problem using custom principal and identity with WCF services
We are using a custom principal and identity type (ProdigyPrincipal/ProdigyIdentity) because we need extra information within our programs and services. In the program we set the principal and identit[详细]
2023-02-16 18:27 分类:问答Get Custom Property Of User Principal
I have a custom user details object with first name part of it.Below username works, but I want something like 开发者_如何学编程the second to work.How can I access this custom property?[详细]
2023-02-10 03:14 分类:问答Thread.CurrentPrincipal in .NET console application
Here is a trivial console application that i run in command prompt: using System; using System.Threading;[详细]
2023-01-30 08:29 分类:问答Custom principal in ASP.NET MVC
I want to be able to access custom properties for an authenticated user like UserId and FirstName without querying the database each time.I found this site through a post on Stack Overflow and I like[详细]
2023-01-17 05:02 分类:问答WCF Service - Custom Principal
In the constructor of my WCF service class I am setting the current principal to be that of the principal passed in the header of the message:[详细]
2023-01-17 00:20 分类:问答Get identity-level token for Windows user?
I want to create a WindowsIdentity for a given user. I don\'t need it for impersonation, just for group membership checks. I need it to work with and without a domain开发者_StackOverflow社区 (none of[详细]
2022-12-29 20:06 分类:问答Does a System.DirectoryServices.AccountManagement.Principal ever have a null GUID?
I have a situation where I need to store a globally unique identifier that points to an Active Directory user account.I\'m leaning towards th开发者_C百科e Guid because it is easier to store than the S[详细]
2022-12-28 06:26 分类:问答