credentials

Can Java's 'single sign-on' (use credentials from 'Credential Manager') on Windows be disabled?

馋奶兔 提交于 2019-11-27 04:23:53
问题 Oracle's "Http Authentication" page from the Java SE 6 documentation says that "if you are running on a Windows machine as a domain user, or, you are running on a Linux or Solaris machine that has already issued the kinit command and got the credential cache" then the instance passed to Authenticator.setDefault() "will be completely ignored". This matches what I observed: setting up an HTTP or HTTPS connection on a Windows system to host X always passes the credentials for host X from the

Accessing Windows Scheduled Task using C#

情到浓时终转凉″ 提交于 2019-11-27 02:57:56
问题 How do I change the credentials used by a scheduled task using C#.NET? 回答1: Someone has written a task scheduler class library on codeproject.com, it might be what your after... :) 回答2: Instead of using code, you can do it using 'SCHTASKS' command, run it using System.Diagnostic.Process.Start method with the parameters required. It's easy and not much effort required. 回答3: You must call RegisterTaskDefintion for the task's definition with the new username and password to change just the

Remove saved credentials from TortoiseGit

佐手、 提交于 2019-11-27 00:59:06
My credentials are saved in TortoiseGit (using Wincred) but my password changed. The only way for me to pull from the repository now is to remove the Credential Helper. How can I simply change the password? Alternately, can I remove my credentials and save my new ones? Normally the invalid credentials should be purged automatically (after one unsuccessful authentication attempt). Go to Control Panel\User Accounts and Family Safety\Credential Manager (another way to get there is to Start->Run rundll32.exe keymgr.dll,KRShowKeyMgr ), there all saved credentials should be listed (prefixed with git

Encrypting credentials in a WPF application

主宰稳场 提交于 2019-11-27 00:23:02
In a WPF application, I would like to provide the typical "Remember Me" option to remember credentials and use them automatically next time the application is launched. Using a one-way hash is clearly not an option, and while I can store credentials in isolated storage or in the registry , there is one issue to deal with when encrypting the credentials. If I use a symmetric key encryption algorithm, I will need to store the key somewhere. And if the key is, for example, hardcoded in memory, then I imagine it would be easy to disassemble the .NET assemblies and find it. What is the best way to

Configuring user and password with Git Bash

不想你离开。 提交于 2019-11-27 00:02:43
问题 I am using Git Bash on Windows 7. We are using GitHub as our repository origin. Every time I push or pull I have to provide user and password credentials. I know that my SSH keys are set up correctly, otherwise I would not be able to access the repository. (That is, once I enter my credentials the push/pull works correctly.) I have entered git config --global user.name myusername git config --global user.email myemail git config --global github.user myusername git config --global github.token

Invalid SSL certificate when pushing to Git server

非 Y 不嫁゛ 提交于 2019-11-26 22:06:14
I am running Gitblit on a Windows Server and am trying to push data to a repository from another machine on the network. I have used a SSL certificate (not self signed, but I think signed by my company? Not really sure how that works but Chrome, IE, etc. see it is identity verified). The server that runs Gitblit is named itscm and on the developer's desktop I am using this URL to push data via TortoiseGit: git.exe push --progress "https://itscm:8234/git/TestRepo.git" master However, I get this error: fatal: unable to access ' https://itscm:8234/git/TestRepo.git/ ': SSL certificate problem:

git credential.helper=cache never forgets the password?

不打扰是莪最后的温柔 提交于 2019-11-26 20:40:29
问题 I want my password to be forgotten, so I have to type it again. I have setup this: git config credential.helper 'cache --timeout=600' but much later on, several days, it still remembers the password and does not ask me it again... git version 1.7.10.4 (at Ubuntu) did I run into a bug? (as I see similar questions but none I found that answers this...) EDIT: or am I missing something? EDIT: now I know commit is local, and push is remote. BUT my commits (with RabbitVCS Git nautilus addon) seem

How to use UrlFetchApp with credentials? Google Scripts

感情迁移 提交于 2019-11-26 20:17:16
I am trying to use Google Scripts UrlFetchApp to access a website with a basic username and password. As soon as I connect to the site a popup appears that requires authentication. I know the Login and Password, however I do not know how to pass them within the UrlFetchApp. var response = UrlFetchApp.fetch("htp://00.000.000.000:0000/‎"); Logger.log(response.getContentText("UTF-8")); Currently running that code returns "Access Denied". The above code does not contain the actual address I am connecting to for security reasons. A "t" is missing from all the "http" in the code examples because

Externalizing Grails Datasource configuration

梦想的初衷 提交于 2019-11-26 19:47:13
Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)? It would prove helpful to be able to configure DB credentials in a simple configuration file outside the application. Thanks in advance! You can use a properties file specified in the grails.config.locations as a way to externalize the datasource configuration. Below is how I typically set up a Grails project: In my DataSource.groovy I specify this for the

WebClient accessing page with credentials

≡放荡痞女 提交于 2019-11-26 18:37:49
I am trying to access a webpage on a same domain / same asp.net application, that is password protected. Credentials are the same both for webpage firing this call and webpage being accessed. Here is the code, and I don't know why I always end up with a login form html code? using (WebClient client = new WebClient()) { client.QueryString.Add("ID", "1040"); //add parameters //client.Credentials = CredentialCache.DefaultCredentials; //I tried to add credentials like this client.Credentials = new NetworkCredential("username", "password"); string htmlCode = client.DownloadString("http://domain.loc