credentials

Symfony 1.4: Problems displaying a field depending on the credentials user in the admin generator

Hi everyone, I'm working with symphony 1.4 with the Doctrine ORM. I want to display in the edit and list action some fields of a form depending on the credentials of the user. An example, if the user has admin credentials, the filed secret_notes will appear and it could be modified. Otherwise it doesn't appear and it couldn't be modifie...

Using Kerberos to encrypt credentials / What is a static secret for a principal.

An application written in Java needs to store passwords to external services per user. Within the application the user itself authenticates against a KDC using Kerberos (basically creating a LoginContext utilizing Jaas). I would like to store the encrypted secrets to other services in some kind of file (XML?) at the applications locatio...

Silverlight: connecting to secured ASMX service

I need to connect to an ASMX secured web service over HTTPS using Silverlight 4. I have been able to connect to the service using a WPF application using the following configuration: <binding name="wsSomeWebService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies...

Grails spring security / Acegi. Custom User + Password expired management.

Hi, I'm working on a grails legacy project. A domain class called User exists. It contains password, username, roles, etc. This project uses Spring Security for role management. I would like to add expiration of credentials ( force the User to renew its password). I've modified the User class. Not it implements the UserDetails interf...

What user credentials do I need to access Sharepoint Web Services

I currently have a web config file in a web service that is using the following code snippet so that it can access resources on Sharepoint <identity impersonate="true" userName="[domain admin]" password="[password]"/> Clearly this situation is not a good idea and we are currently replacing this with the correct way of doing things. Ho...

Making Visual Studio TFS plugin store your credentials?

Every time I open Visual Studio 2008, I get a pop-up dialog prompting for my username and password ('Connecting to Team Foundation Server'). Presumably this is because I have my TFS server stored in the Team Explorer tab, in Servers, so it wants to connect to it on startup. In addition, this happens when I open a solution file whose so...

Get current user's credentials object in Powershell without prompting

I have a Powershell script that is going to be run through an automation tool against multiple servers. It works fine on Windows machines, as the remote calls use the tool's service account without any need for prompting or exposing any credentials in code. This script also runs against Linux machines via SSH using the SharpSSH package. ...

Pass Credentials to WMI Call in VBScript

Hi everyone, I have VBScript inside a HTA getting the ping status from a local WMI call.. I also have a function to get the last reboot time of the remote pc.. Function GetReboot(strComputer) Set objWMIService = GetObject _ ("winmgmts:\\" & strComputer & "\root\cimv2") Set colOperatingSystems = objWMIService.ExecQuery _ ...

ReportViewer in WPF behaving differently on similar machines

I have a reportviewer control in a pop up window inside my WPF application. When the report is to be printed, on some client machines it gives the following message "Some parameters or credentials have not been specified". This error does not come on every client machine even though the machines are identical in every respect. I have t...

SSRS: Enumerate available reports - only works with UseDefaultCredetials

I'm trying to generate a list of available reports from an SSRS 2008 installation, using code as below: ReportingService2005 rs = new ReportingService2005(); rs.UseDefaultCredentials = true; CatalogItem[] items = rs.ListChildren("/", true); foreach(CatalogItem ci in items) { if (ddlReport.Type == ItemTypeEnum.Report) ddlRepor...

Problem with sfGuardPlugin and credentials

This has been bugging me for a long time now. I am new to symfony (2 days to be precise). I am using sfGuardPlugin to implement user administration. I am using following approach: I have a user say "site_user", there is a group called "moderator". site_user belongs to moderator. moderator has permission say do_something. In security.y...

How to eliminate usernames and passwords from source code in Test Automation?

I write test automation and scripts that require windows authentication to the domain to access. I don't like keeping them in the app.config because they are available in plain text. I don't like prompting for input because then it isn't automated anymore. If I hard code them in the assembly they are visible from .Net Reflector and they ...

How can I perform a silent upgrade - an upgrade that does not require user intervention, username and password?

We have a client already installed on users machines, we would have liked to have the ability to upgrade this client silently in the background, without any user intervention, the way google Chrome browser seem to work. How can you install an upgrade without requiring the user to re-enter his credentials? How can this be done in Wind...