identity

MSI installer custom action identity problem

巧了我就是萌 提交于 2019-12-13 16:22:38
问题 I'm creating a custom action that executes a script on a database. The problem is that the connectios uses intergrated security, so when I try to open the connection i get the error: Login Failed for user 'Domain\ComputerName$'. When i check the identity on the custom action (using System.Security.Principal.WindowsIdentity.GetCurrent() ) I always get "NT AUTHORITY\SYSTEM" but I'm running the installer under my account which has enough privileges on the Database. How can I run the custom

Identity column Vs Primary Key [closed]

被刻印的时光 ゝ 提交于 2019-12-13 14:06:31
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . How can we decide on to go with Identity column or Primary Key? 回答1: The two concepts are not mutually exclusive. All combinations are possible: An identity column that is also a primary key, An identity column

save new data to user table using asp identity

佐手、 提交于 2019-12-13 07:57:57
问题 I am trying to add a piece of data to the Asp identity table which stores user details ( AspNetUsers ). I have code to create a new user but not how to add or change things in a table. Could someone link me a resource or show me an example of how to do this? For example if I created users where age was null and had a form that asked a user to input an age and wanted to add that to the users information without having to create a new user. I have all the code to collect the variable. I have

ASP.NET Core identity shared across browser

空扰寡人 提交于 2019-12-13 06:29:31
问题 When I'm deploying an ASP.NET Core web application to Azure, I have an issue with the session : they are shared across browsers. Explanation : I'm going to my deployed site, I log in with my email/password then I'm logged in. If I open the website in an other browser on the same machine or on an other machine, I'm now connected with the credentials I used in the first browser. I deployed the default template from Visual Studio without any changes. Is there something to do to resolve this

ASP.NET MVC Identity 2.0 Very frequent unexpected user logoff

﹥>﹥吖頭↗ 提交于 2019-12-13 05:38:10
问题 I have a ASP.NET MVC 5 Application with ASPNet.Identity 2.0 security system. So, I have frequent situation when user first logs in the site and some clicks later (from 1 to 20) he suddenly logs off. This occurs only on live system (on hosting with IIS 8.5). The asp.net cookie does not change its value. And there is no such error on development with IIS Express. How can that happen? Maybe it's about some IIS settings? It's the only one application on domain and in app.pool. 回答1: I've solved my

How do I get the list of SOAP services exposed by WSO2 Identity Server?

守給你的承諾、 提交于 2019-12-13 05:12:46
问题 I've recently started looking at WSO2 Identity Server as an alternative to what my company is currently using. I'm finding it difficult to determine what SOAP and REST services are exposed and what the URLs for those are. I've tried starting the server (on my Windows machine) with wso2server.bat -DosgiConosle , but I can't seem to get the OSGi console after the server has started. Is there any other way to get the list of services exposed by the product? Also, I'm not aware of the service API

Alter DB2 identity to add Cycle Cache and a specific restart value

…衆ロ難τιáo~ 提交于 2019-12-13 00:36:34
问题 I want to alter a db2 identity to cycle cache and to make it (re)start with a specific value, something like: ALTER TABLE ALTER COLUMN SET GENERATED ALWAYS AS IDENTITY (CYCLE CACHE 100) RESTART WITH 32323 Is there a way of doing this so that I can add cycle cache as well as make it restart from a specific number? 回答1: What error are you seeing? What version and platform of DB2? The following works on DB2 for IBM i 7.1 alter table mytable alter column mycolumn set generated always set cycle

How to use SPRING SAML EXTENSION to make our webapp as an identity provider?

跟風遠走 提交于 2019-12-12 22:09:53
问题 All, Here is my requirement. We have a current JAVA Web application and that is implemented basic security on Spring Security Framework. When user come to our app , we own the login page, we store the user credentials and spring framework is calling our customer user provider to get all the user details. Now, we have a need to talk to another web application hosted in different domain. But the new application is SAML compliant and is ready to authenticate users based on SAML tokens. Based on

C# - Generate “identity” like Id's with NoSQL (MongoDB)?

时光总嘲笑我的痴心妄想 提交于 2019-12-12 17:00:19
问题 I've been using MongoDB with C#, and have been using ObjectIds, then later GUIDs for my Entity Ids. I hate looking at these Id's, I think it's counter intuitive... I'd really like to be able to use integers or longs, like relational DBs Identity column. But I'm having a hard time finding a way to do it. If I use collection max + 1, that will lead to race conditions. I've read about using a Hi-Lo Generator algorithm, but how does that work? What if I have 10 app servers running the same code?

Using StoreGeneratedPattern.Identity with database-trigger-generated primarykey values not possible?

血红的双手。 提交于 2019-12-12 15:43:30
问题 This question is related to another question i asked here ( Entity Framework 4.2 - How to realize TPT-Inheritance with Database-generated Primarykey Value? ) and should simply clarify, if my assumptions, regarding the problem stated in the topic, are right or not. The Problem (in detail): I want to use EF (4.1) to access a database, that already exists the database has some restrictions regarding the generation of primary key values for its tables (there is a UDF that takes a tablename and